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

Class NonGen1

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

Source from the content-addressed store, hash-verified

1171
1172 def test_Generator(self):
1173 class NonGen1:
1174 def __iter__(self): return self
1175 def __next__(self): return None
1176 def close(self): pass
1177 def throw(self, typ, val=None, tb=None): pass
1178
1179 class NonGen2:
1180 def __iter__(self): return self

Callers 1

test_GeneratorMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_GeneratorMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…