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

Class ItBlocked

Lib/test/test_collections.py:996–997  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

994 class It:
995 def __iter__(self): return iter([])
996 class ItBlocked(It):
997 __iter__ = None
998 self.assertIsSubclass(It, Iterable)
999 self.assertIsInstance(It(), Iterable)
1000 self.assertNotIsSubclass(ItBlocked, Iterable)

Callers 1

test_IterableMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_IterableMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…