def unparse_url(scheme, host, port, path=''):
 return ('%s://%s%s' % (scheme, hostport(scheme, host, port), path))

def unparse_url ( scheme , host , port , path = '' ) : return ( '%s://%s%s' % ( scheme , hostport ( scheme , host , port ) , path ) )
returns a url string .