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

Class Bool

Lib/test/test_with.py:583–585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581 class cm(object):
582 def __init__(self, bool_conversion):
583 class Bool:
584 def __bool__(self):
585 return bool_conversion()
586 self.exit_result = Bool()
587 def __enter__(self):
588 return 3

Callers 9

__init__Method · 0.85
fromMethod · 0.85
to_typedMethod · 0.85
from_type_and_valueMethod · 0.85
prepare_constMethod · 0.85
add_instructionMethod · 0.85
new_boolMethod · 0.85
ast_from_objectMethod · 0.85
get_jit_valueFunction · 0.85

Calls

no outgoing calls

Tested by 1

__init__Method · 0.68