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

Method athrow

Lib/test/test_collections.py:1278–1279  ·  view source on GitHub ↗
(self, typ, val=None, tb=None)

Source from the content-addressed store, hash-verified

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.95

Calls 2

superClass · 0.85
athrowMethod · 0.45

Tested by

no test coverage detected