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

Class DerCol

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

Source from the content-addressed store, hash-verified

1091 def __contains__(self, item):
1092 return False
1093 class DerCol(Col): pass
1094 self.assertEqual(list(iter(Col())), [])
1095 self.assertNotIsSubclass(list, Col)
1096 self.assertNotIsSubclass(set, Col)

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…