(self, isabsolute)
Raises: AttributeError if _force_absolute(self) returns True.
Raises: AttributeError if _force_absolute(self) returns True.
Raises : AttributeError if _force_absolute ( self ) returns True .
def isabsolute(self, isabsolute):
        """
        Raises: AttributeError if _force_absolute(self) returns True.
        """
        if self._force_absolute(self):
            s = ('Path.isabsolute is True and read-only for URLs with a netloc'
                 ' (a username, password, host, and/or port). A URL path must '
                 "start with a '/' to separate itself from a netloc.")
            raise AttributeError(s)
        self._isabsolute = isabsolute
def isabsolute ( self , isabsolute ) : if self . _force_absolute ( self ) : s = ( 'Path.isabsolute is True and read-only for URLs with a netloc' ' (a username, password, host, and/or port). A URL path must ' "start with a '/' to separate itself from a netloc." ) raise AttributeError ( s ) self . _isabsolute = isabsolute