MCPcopy Index your code
hub / github.com/ipython/ipython / RaiseBool

Class RaiseBool

tests/test_oinspect.py:388–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386 """
387
388 class RaiseBool:
389 attr = None
390
391 def __bool__(self):
392 raise ValueError("pinfo should not access this method")
393
394 raise_bool = RaiseBool()
395

Callers 1

test_pinfo_bool_raiseFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_pinfo_bool_raiseFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…