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

Method __bool__

extra_tests/snippets/builtin_bool.py:168–169  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

166
167class Foo(object):
168 def __bool__(self):
169 return self
170
171
172check(Foo())

Callers 2

builtin_type.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected