parameters: (self, flag)
docstring: Set the given flag(s) without changing others.
docstring_summary: Set the given flag(s) without changing others.
docstring_tokens: Set the given flag ( s ) without changing others .
function: def add_flag(self, flag):
          """Set the given flag(s) without changing others."""
          self.set_flags(''.join(set(self.get_flags()) | set(flag)))
function_tokens: def add_flag ( self , flag ) : self . set_flags ( '' . join ( set ( self . get_flags ( ) ) | set ( flag ) ) )