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

Class Unreadable

test/test_box_list.py:296–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294 yield {"key": 1}
295
296 class Unreadable:
297 def __iter__(self):
298 raise RuntimeError("replacement must not be read")
299
300 value = {"generator": replacements(), "iterable": Unreadable(), "noniterable": 3}[replacement_kind]
301 data = BoxList([0, 1, 2])

Calls

no outgoing calls