()
Return the running event loop or None.

    This is a low-level function intended to be used by event loops.
    This function is thread-specific.
Return the running event loop or None.
Return the running event loop or None .
def _get_running_loop():
    """Return the running event loop or None.

    This is a low-level function intended to be used by event loops.
    This function is thread-specific.
    """
    # NOTE: this function is implemented in C (see _asynciomodule.c)
    running_loop, pid = _running_loop.loop_pid
    if running_loop is not None and pid == os.getpid():
        return running_loop
def _get_running_loop ( ) : # NOTE: this function is implemented in C (see _asynciomodule.c) running_loop , pid = _running_loop . loop_pid if running_loop is not None and pid == os . getpid ( ) : return running_loop