parameters: (self, flagname, default=None)
return_statement: return default
docstring: Return the name of the module defining this flag, or default.
  
      Args:
        flagname: Name of the flag to lookup.
        default: Value to return if flagname is not defined. Defaults
            to None.
  
      Returns:
        The name of the module which registered the flag with this name.
        If no such module exists (i.e. no flag with this name exists),
        we return default.
docstring_summary: Return the name of the module defining this flag, or default.
docstring_tokens: Return the name of the module defining this flag or default .
function: def FindModuleDefiningFlag(self, flagname, default=None):
      """Return the name of the module defining this flag, or default.
  
      Args:
        flagname: Name of the flag to lookup.
        default: Value to return if flagname is not defined. Defaults
            to None.
  
      Returns:
        The name of the module which registered the flag with this name.
        If no such module exists (i.e. no flag with this name exists),
        we return default.
      """
      for module, flags in self.FlagsByModuleDict().iteritems():
        for flag in flags:
          if flag.name == flagname or flag.short_name == flagname:
            return module
      return default
function_tokens: def FindModuleDefiningFlag ( self , flagname , default = None ) : for module , flags in self . FlagsByModuleDict ( ) . iteritems ( ) : for flag in flags : if flag . name == flagname or flag . short_name == flagname : return module return default