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

Class AsyncYieldFrom

Lib/test/test_coroutines.py:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19
20class AsyncYieldFrom:
21 def __init__(self, obj):
22 self.obj = obj
23
24 def __await__(self):
25 yield from self.obj
26
27
28class AsyncYield:

Callers 3

fooMethod · 0.85
__aenter__Method · 0.85
__aexit__Method · 0.85

Calls

no outgoing calls

Tested by 3

fooMethod · 0.68
__aenter__Method · 0.68
__aexit__Method · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…