MCPcopy Create free account
hub / github.com/cdgriffith/Box / __bool__

Method __bool__

test/test_update_truth.py:13–14  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

11 return iter(self.pairs)
12
13 def __bool__(self):
14 raise ValueError("truth value is ambiguous")
15
16
17class MappingWithoutTruth(dict):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected