(cls, scheme, userinfo, host, port, path, query, fragment,
                uri_ref, encoding='utf-8')
return parse_result
Create a new ParseResult.
Create a new ParseResult.
Create a new ParseResult .
def __new__(cls, scheme, userinfo, host, port, path, query, fragment,
                uri_ref, encoding='utf-8'):
        """Create a new ParseResult."""
        parse_result = super(ParseResult, cls).__new__(
            cls,
            scheme or None,
            userinfo or None,
            host,
            port or None,
            path or None,
            query,
            fragment)
        parse_result.encoding = encoding
        parse_result.reference = uri_ref
        return parse_result
def __new__ ( cls , scheme , userinfo , host , port , path , query , fragment , uri_ref , encoding = 'utf-8' ) : parse_result = super ( ParseResult , cls ) . __new__ ( cls , scheme or None , userinfo or None , host , port or None , path or None , query , fragment ) parse_result . encoding = encoding parse_result . reference = uri_ref return parse_result