parameters: (self, name)
return_statement: return self.__dict__['__flags'][name]
docstring: Retrieves the 'value' attribute of the flag --name.
docstring_summary: Retrieves the 'value' attribute of the flag --name.
docstring_tokens: Retrieves the value attribute of the flag -- name .
function: def __getattr__(self, name):
      """Retrieves the 'value' attribute of the flag --name."""
      try:
        parsed = self.__dict__['__parsed']
      except KeyError:
        # May happen during pickle.load or copy.copy
        raise AttributeError(name)
      if not parsed:
        self._parse_flags()
      if name not in self.__dict__['__flags']:
        raise AttributeError(name)
      return self.__dict__['__flags'][name]
function_tokens: def __getattr__ ( self , name ) : try : parsed = self . __dict__ [ '__parsed' ] except KeyError : # May happen during pickle.load or copy.copy raise AttributeError ( name ) if not parsed : self . _parse_flags ( ) if name not in self . __dict__ [ '__flags' ] : raise AttributeError ( name ) return self . __dict__ [ '__flags' ] [ name ]