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

Class IterBlock

Lib/test/test_collections.py:1124–1127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1122 def __contains__(self): return False
1123 __len__ = None
1124 class IterBlock:
1125 def __len__(self): return 0
1126 def __contains__(self): return True
1127 __iter__ = None
1128 self.assertNotIsSubclass(SizeBlock, Collection)
1129 self.assertNotIsInstance(SizeBlock(), Collection)
1130 self.assertNotIsSubclass(IterBlock, Collection)

Callers 1

test_CollectionMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_CollectionMethod · 0.68