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

Class Awaitable

Lib/test/test_coroutines.py:1003–1005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1001
1002 def test_await_5(self):
1003 class Awaitable:
1004 def __await__(self):
1005 return
1006
1007 async def foo():
1008 return (await Awaitable())

Callers 1

fooMethod · 0.70

Calls

no outgoing calls

Tested by 1

fooMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…