parameters: ()
return_statement: return _localhost
docstring: Return the IP address of the magic hostname 'localhost'.
docstring_summary: Return the IP address of the magic hostname 'localhost'.
docstring_tokens: Return the IP address of the magic hostname localhost .
function: def localhost():
      """Return the IP address of the magic hostname 'localhost'."""
      global _localhost
      if _localhost is None:
          _localhost = socket.gethostbyname('localhost')
      return _localhost
function_tokens: def localhost ( ) : global _localhost if _localhost is None : _localhost = socket . gethostbyname ( 'localhost' ) return _localhost