MCPcopy Index your code
hub / github.com/python/cpython / __bool__

Method __bool__

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

Source from the content-addressed store, hash-verified

758 return 4.25
759 class MyBool:
760 def __bool__(self):
761 release()
762 return True
763
764 ba = None
765 m = memoryview(bytearray(b'\xff'*size))

Callers

nothing calls this directly

Calls 1

releaseFunction · 0.85

Tested by

no test coverage detected