(coro_or_future, *, loop=None)
return _ensure_future(coro_or_future, loop=loop)
Wrap a coroutine or an awaitable in a future.

    If the argument is a Future, it is returned directly.
Wrap a coroutine or an awaitable in a future.
Wrap a coroutine or an awaitable in a future .
def ensure_future(coro_or_future, *, loop=None):
    """Wrap a coroutine or an awaitable in a future.

    If the argument is a Future, it is returned directly.
    """
    return _ensure_future(coro_or_future, loop=loop)
def ensure_future ( coro_or_future , * , loop = None ) : return _ensure_future ( coro_or_future , loop = loop )