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

Class Unreadable

test/test_box_list.py:269–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267 yield {"key": 1}
268
269 class Unreadable:
270 def __iter__(self):
271 raise RuntimeError("replacement must not be read")
272
273 value = {"generator": replacements(), "iterable": Unreadable(), "noniterable": 3}[replacement_kind]
274 data = BoxList([0, 1, 2])

Calls

no outgoing calls