MCPcopy Index your code
hub / github.com/python/cpython / IterBlock

Class IterBlock

Lib/test/test_collections.py:1125–1128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

test_CollectionMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_CollectionMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…