(cls, scheme, authority, path, query, fragment,
                encoding='utf-8')
return ref
Create a new URIReference.
Create a new URIReference.
Create a new URIReference .
def __new__(cls, scheme, authority, path, query, fragment,
                encoding='utf-8'):
        """Create a new URIReference."""
        ref = super(URIReference, cls).__new__(
            cls,
            scheme or None,
            authority or None,
            path or None,
            query,
            fragment)
        ref.encoding = encoding
        return ref
def __new__ ( cls , scheme , authority , path , query , fragment , encoding = 'utf-8' ) : ref = super ( URIReference , cls ) . __new__ ( cls , scheme or None , authority or None , path or None , query , fragment ) ref . encoding = encoding return ref