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

Class MinimalAGen

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

Source from the content-addressed store, hash-verified

1273 async def athrow(self, typ, val=None, tb=None): pass
1274
1275 class MinimalAGen(AsyncGenerator):
1276 async def asend(self, value):
1277 return value
1278 async def athrow(self, typ, val=None, tb=None):
1279 await super().athrow(typ, val, tb)
1280
1281 async def gen():
1282 yield 1

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…