parameters: (url, scheme='', allow_fragments=True)
return_statement: return ParseResult(scheme, netloc, url, params, query, fragment)
docstring: Parse a URL into 6 components:
      <scheme>://<netloc>/<path>;<params>?<query>#<fragment>
      Return a 6-tuple: (scheme, netloc, path, params, query, fragment).
      Note that we don't break the components up in smaller bits
      (e.g. netloc is a single string) and we don't expand % escapes.
docstring_summary: Parse a URL into 6 components:
      <scheme>://<netloc>/<path>;<params>?<query>#<fragment>
      Return a 6-tuple: (scheme, netloc, path, params, query, fragment).
      Note that we don't break the components up in smaller bits
      (e.g. netloc is a single string) and we don't expand % escapes.
docstring_tokens: Parse a URL into 6 components : <scheme > : // <netloc > / <path > ; <params > ?<query > #<fragment > Return a 6 - tuple : ( scheme netloc path params query fragment ) . Note that we don t break the components up in smaller bits ( e . g . netloc is a single string ) and we don t expand % escapes .
function: def urlparse(url, scheme='', allow_fragments=True):
      """Parse a URL into 6 components:
      <scheme>://<netloc>/<path>;<params>?<query>#<fragment>
      Return a 6-tuple: (scheme, netloc, path, params, query, fragment).
      Note that we don't break the components up in smaller bits
      (e.g. netloc is a single string) and we don't expand % escapes."""
      tuple = urlsplit(url, scheme, allow_fragments)
      scheme, netloc, url, query, fragment = tuple
      if scheme in uses_params and ';' in url:
          url, params = _splitparams(url)
      else:
          params = ''
      return ParseResult(scheme, netloc, url, params, query, fragment)
function_tokens: def urlparse ( url , scheme = '' , allow_fragments = True ) : tuple = urlsplit ( url , scheme , allow_fragments ) scheme , netloc , url , query , fragment = tuple if scheme in uses_params and ';' in url : url , params = _splitparams ( url ) else : params = '' return ParseResult ( scheme , netloc , url , params , query , fragment )