(self)
return ''.join(result_list)
Create a URI string from the components.

        :returns: The URI Reference reconstituted as a string.
        :rtype: str
Create a URI string from the components.
Create a URI string from the components .
def unsplit(self):
        """Create a URI string from the components.

        :returns: The URI Reference reconstituted as a string.
        :rtype: str
        """
        # See http://tools.ietf.org/html/rfc3986#section-5.3
        result_list = []
        if self.scheme:
            result_list.extend([self.scheme, ':'])
        if self.authority:
            result_list.extend(['//', self.authority])
        if self.path:
            result_list.append(self.path)
        if self.query is not None:
            result_list.extend(['?', self.query])
        if self.fragment is not None:
            result_list.extend(['#', self.fragment])
        return ''.join(result_list)
def unsplit ( self ) : # See http://tools.ietf.org/html/rfc3986#section-5.3 result_list = [ ] if self . scheme : result_list . extend ( [ self . scheme , ':' ] ) if self . authority : result_list . extend ( [ '//' , self . authority ] ) if self . path : result_list . append ( self . path ) if self . query is not None : result_list . extend ( [ '?' , self . query ] ) if self . fragment is not None : result_list . extend ( [ '#' , self . fragment ] ) return '' . join ( result_list )