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

Class Falsey

extra_tests/snippets/builtin_bool.py:36–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35
36class Falsey:
37 def __bool__(self):
38 return False
39
40
41assert not Falsey()

Callers 1

builtin_bool.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected