MCPcopy Index your code
hub / github.com/RustPython/RustPython / __float__

Method __float__

Lib/test/test_memoryview.py:691–693  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

689 return 4
690 class MyFloat:
691 def __float__(self):
692 release()
693 return 4.25
694 class MyBool:
695 def __bool__(self):
696 release()

Callers

nothing calls this directly

Calls 1

releaseFunction · 0.85

Tested by

no test coverage detected