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

Class ColNoIter

Lib/test/test_collections.py:1105–1107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1103 '__contains__')
1104 # Check sized container non-iterable (which is not Collection) etc.
1105 class ColNoIter:
1106 def __len__(self): return 0
1107 def __contains__(self, item): return False
1108 class ColNoSize:
1109 def __iter__(self): return iter([])
1110 def __contains__(self, item): return False

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…