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

Class ColNoCont

Lib/test/test_collections.py:1111–1113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1109 def __iter__(self): return iter([])
1110 def __contains__(self, item): return False
1111 class ColNoCont:
1112 def __iter__(self): return iter([])
1113 def __len__(self): return 0
1114 self.assertNotIsSubclass(ColNoIter, Collection)
1115 self.assertNotIsInstance(ColNoIter(), Collection)
1116 self.assertNotIsSubclass(ColNoSize, 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…