(self, flag)
Unset the given string flag(s) without changing others.
Unset the given string flag(s) without changing others.
Unset the given string flag ( s ) without changing others .
def remove_flag(self, flag):
        """Unset the given string flag(s) without changing others."""
        if self.get_flags():
            self.set_flags(''.join(set(self.get_flags()) - set(flag)))
def remove_flag ( self , flag ) : if self . get_flags ( ) : self . set_flags ( '' . join ( set ( self . get_flags ( ) ) - set ( flag ) ) )