code: def urlunparse(data):
      
      scheme, netloc, url, params, query, fragment = data
      if params:
          url = "%s;%s" % (url, params)
      return urlunsplit((scheme, netloc, url, query, fragment))
docs: Put a parsed URL back together again.  This may result in a
      slightly different, but equivalent URL, if the URL that was parsed
      originally had redundant delimiters, e.g. a ? with an empty query
      (the draft states that these are equivalent).