Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ __bool__
Method
__bool__
Lib/test/test_memoryview.py:695–697 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
693
return
4.25
694
class
MyBool:
695
def
__bool__(self):
696
release()
697
return
True
698
699
ba = None
700
m = memoryview(bytearray(b
'\xff'
*size))
Callers
nothing calls this directly
Calls
1
release
Function · 0.85
Tested by
no test coverage detected