MCPcopy Create free account
hub / github.com/python/cpython / NonAGen1

Class NonAGen1

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

Source from the content-addressed store, hash-verified

1242
1243 def test_AsyncGenerator(self):
1244 class NonAGen1:
1245 def __aiter__(self): return self
1246 def __anext__(self): return None
1247 def aclose(self): pass
1248 def athrow(self, typ, val=None, tb=None): pass
1249
1250 class NonAGen2:
1251 def __aiter__(self): return self

Callers 1

test_AsyncGeneratorMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_AsyncGeneratorMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…