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

Class ItBlocked

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

Source from the content-addressed store, hash-verified

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

Callers 1

test_IterableMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_IterableMethod · 0.68