(self, use_idna=False)
return parse_result.reference.unsplit()
Create a URI string from the components.

        :returns: The parsed URI reconstituted as a string.
        :rtype: str
Create a URI string from the components.
Create a URI string from the components .
def unsplit(self, use_idna=False):
        """Create a URI string from the components.

        :returns: The parsed URI reconstituted as a string.
        :rtype: str
        """
        parse_result = self
        if use_idna and self.host:
            hostbytes = self.host.encode('idna')
            host = hostbytes.decode(self.encoding)
            parse_result = self.copy_with(host=host)
        return parse_result.reference.unsplit()
def unsplit ( self , use_idna = False ) : parse_result = self if use_idna and self . host : hostbytes = self . host . encode ( 'idna' ) host = hostbytes . decode ( self . encoding ) parse_result = self . copy_with ( host = host ) return parse_result . reference . unsplit ( )