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

Method __await__

Lib/test/test_coroutines.py:32–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30 self.value = value
31
32 def __await__(self):
33 yield self.value
34
35
36async def asynciter(iterable):

Callers 9

run_async__await__Function · 0.45
test_func_10Method · 0.45
test_func_11Method · 0.45
test_func_18Method · 0.45
__await__Method · 0.45
test_await_17Method · 0.45
test_copyMethod · 0.45
test_pickleMethod · 0.45
test_tp_await_2Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected