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

Class NonGen2

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

Source from the content-addressed store, hash-verified

1177 def throw(self, typ, val=None, tb=None): pass
1178
1179 class NonGen2:
1180 def __iter__(self): return self
1181 def __next__(self): return None
1182 def close(self): pass
1183 def send(self, value): return value
1184
1185 class NonGen3:
1186 def close(self): pass

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…