()
return loop
Return the running event loop.  Raise a RuntimeError if there is none.

    This function is thread-specific.
Return the running event loop.  Raise a RuntimeError if there is none.
Return the running event loop . Raise a RuntimeError if there is none .
def get_running_loop():
    """Return the running event loop.  Raise a RuntimeError if there is none.

    This function is thread-specific.
    """
    # NOTE: this function is implemented in C (see _asynciomodule.c)
    loop = _get_running_loop()
    if loop is None:
        raise RuntimeError('no running event loop')
    return loop
def get_running_loop ( ) : # NOTE: this function is implemented in C (see _asynciomodule.c) loop = _get_running_loop ( ) if loop is None : raise RuntimeError ( 'no running event loop' ) return loop