parameters: (url)
return_statement: return urlunparse((scheme, netloc, path, params, query, ''))
docstring: Given a url remove the fragment and the authentication part.
  
      :rtype: str
docstring_summary: Given a url remove the fragment and the authentication part.
docstring_tokens: Given a url remove the fragment and the authentication part .
function: def urldefragauth(url):
      """
      Given a url remove the fragment and the authentication part.
  
      :rtype: str
      """
      scheme, netloc, path, params, query, fragment = urlparse(url)
  
      # see func:`prepend_scheme_if_needed`
      if not netloc:
          netloc, path = path, netloc
  
      netloc = netloc.rsplit('@', 1)[-1]
  
      return urlunparse((scheme, netloc, path, params, query, ''))
function_tokens: def urldefragauth ( url ) : scheme , netloc , path , params , query , fragment = urlparse ( url ) # see func:`prepend_scheme_if_needed` if not netloc : netloc , path = path , netloc netloc = netloc . rsplit ( '@' , 1 ) [ - 1 ] return urlunparse ( ( scheme , netloc , path , params , query , '' ) )