parameters: (url)
return_statement: return p.scheme or 'http', p.hostname, p.port
docstring: Deprecated. Use :func:`.parse_url` instead.
docstring_summary: Deprecated. Use :func:`.parse_url` instead.
docstring_tokens: Deprecated . Use : func : . parse_url instead .
function: def get_host(url):
      """
      Deprecated. Use :func:`.parse_url` instead.
      """
      p = parse_url(url)
      return p.scheme or 'http', p.hostname, p.port
function_tokens: def get_host ( url ) : p = parse_url ( url ) return p . scheme or 'http' , p . hostname , p . port