(self, value=None)
return self._tuple.path
Return or set the path

        :param string value: the new path to use
        :returns: string or new :class:`URL` instance
Return or set the path
Return or set the path
def path(self, value=None):
        """
        Return or set the path

        :param string value: the new path to use
        :returns: string or new :class:`URL` instance
        """
        if value:
            if not value.startswith('/'):
                value = '/' + value
            return URL._mutate(self, path=value)
        return self._tuple.path
def path ( self , value = None ) : if value : if not value . startswith ( '/' ) : value = '/' + value return URL . _mutate ( self , path = value ) return self . _tuple . path