code: def urisplit(uristring):
      
      if isinstance(uristring, bytes):
          result = SplitResultBytes
      else:
          result = SplitResultUnicode
      return result(*result.RE.match(uristring).groups())
docs: Split a well-formed URI reference string into a tuple with five
      components corresponding to a URI's general structure::
  
        <scheme>://<authority>/<path>?<query>#<fragment>