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

Function _wrap_awaitable

Lib/asyncio/tasks.py:720–721  ·  view source on GitHub ↗
(awaitable)

Source from the content-addressed store, hash-verified

718 if not coroutines.iscoroutine(coro_or_future):
719 if inspect.isawaitable(coro_or_future):
720 async def _wrap_awaitable(awaitable):
721 return await awaitable
722
723 coro_or_future = _wrap_awaitable(coro_or_future)
724 should_close = False

Callers 2

ensure_futureFunction · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…