parameters: ()
docstring: Stop the listening server which was created with a call to listen().
docstring_summary: Stop the listening server which was created with a call to listen().
docstring_tokens: Stop the listening server which was created with a call to listen () .
function: def stopListening():
      """
      Stop the listening server which was created with a call to listen().
      """
      global _listener
      logging._acquireLock()
      try:
          if _listener:
              _listener.abort = 1
              _listener = None
      finally:
          logging._releaseLock()
function_tokens: def stopListening ( ) : global _listener logging . _acquireLock ( ) try : if _listener : _listener . abort = 1 _listener = None finally : logging . _releaseLock ( )