parameters: (self, flag_name)
docstring: Deletes a previously-defined flag from a flag object.
  
      This method makes sure we can delete a flag by using
  
        del flag_values_object.<flag_name>
  
      E.g.,
  
        gflags.DEFINE_integer('foo', 1, 'Integer flag.')
        del gflags.FLAGS.foo
  
      Args:
        flag_name: A string, the name of the flag to be deleted.
  
      Raises:
        AttributeError: When there is no registered flag named flag_name.
docstring_summary: Deletes a previously-defined flag from a flag object.
docstring_tokens: Deletes a previously - defined flag from a flag object .
function: def __delattr__(self, flag_name):
      """Deletes a previously-defined flag from a flag object.
  
      This method makes sure we can delete a flag by using
  
        del flag_values_object.<flag_name>
  
      E.g.,
  
        gflags.DEFINE_integer('foo', 1, 'Integer flag.')
        del gflags.FLAGS.foo
  
      Args:
        flag_name: A string, the name of the flag to be deleted.
  
      Raises:
        AttributeError: When there is no registered flag named flag_name.
      """
      fl = self.FlagDict()
      if flag_name not in fl:
        raise AttributeError(flag_name)
  
      flag_obj = fl[flag_name]
      del fl[flag_name]
  
      if not self._FlagIsRegistered(flag_obj):
        # If the Flag object indicated by flag_name is no longer
        # registered (please see the docstring of _FlagIsRegistered), then
        # we delete the occurrences of the flag object in all our internal
        # dictionaries.
        self.__RemoveFlagFromDictByModule(self.FlagsByModuleDict(), flag_obj)
        self.__RemoveFlagFromDictByModule(self.FlagsByModuleIdDict(), flag_obj)
        self.__RemoveFlagFromDictByModule(self.KeyFlagsByModuleDict(), flag_obj)
function_tokens: def __delattr__ ( self , flag_name ) : fl = self . FlagDict ( ) if flag_name not in fl : raise AttributeError ( flag_name ) flag_obj = fl [ flag_name ] del fl [ flag_name ] if not self . _FlagIsRegistered ( flag_obj ) : # If the Flag object indicated by flag_name is no longer # registered (please see the docstring of _FlagIsRegistered), then # we delete the occurrences of the flag object in all our internal # dictionaries. self . __RemoveFlagFromDictByModule ( self . FlagsByModuleDict ( ) , flag_obj ) self . __RemoveFlagFromDictByModule ( self . FlagsByModuleIdDict ( ) , flag_obj ) self . __RemoveFlagFromDictByModule ( self . KeyFlagsByModuleDict ( ) , flag_obj )