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

Class CoroLike

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

Source from the content-addressed store, hash-verified

833 c.close() # avoid RuntimeWarning that coro() was not awaited
834
835 class CoroLike: pass
836 Coroutine.register(CoroLike)
837 self.assertIsInstance(CoroLike(), Awaitable)
838 self.assertIsSubclass(CoroLike, Awaitable)

Callers 2

test_AwaitableMethod · 0.70
test_CoroutineMethod · 0.70

Calls

no outgoing calls

Tested by 2

test_AwaitableMethod · 0.56
test_CoroutineMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…