parameters: ()
return_statement: return loop
docstring: Return the running event loop.  Raise a RuntimeError if there is none.
  
      This function is thread-specific.
docstring_summary: Return the running event loop.  Raise a RuntimeError if there is none.
docstring_tokens: Return the running event loop . Raise a RuntimeError if there is none .
function: 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
function_tokens: 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