(self)
return self
Canonicalize this url. This includes reordering parameters and args
        to have a consistent ordering
Canonicalize this url. This includes reordering parameters and args
        to have a consistent ordering
Canonicalize this url . This includes reordering parameters and args to have a consistent ordering
def canonical(self):
        '''Canonicalize this url. This includes reordering parameters and args
        to have a consistent ordering'''
        self._query = b('&').join(
            sorted([q for q in self._query.split(b('&'))])
        )
        self._params = b(';').join(
            sorted([q for q in self._params.split(b(';'))])
        )
        return self
def canonical ( self ) : self . _query = b ( '&' ) . join ( sorted ( [ q for q in self . _query . split ( b ( '&' ) ) ] ) ) self . _params = b ( ';' ) . join ( sorted ( [ q for q in self . _params . split ( b ( ';' ) ) ] ) ) return self