parameters: (self, module)
return_statement: return key_flags
docstring: Returns the list of key flags for a module.
  
      Args:
        module: A module object or a module name (a string)
  
      Returns:
        A new list of Flag objects.  Caller may update this list as he
        wishes: none of those changes will affect the internals of this
        FlagValue object.
docstring_summary: Returns the list of key flags for a module.
docstring_tokens: Returns the list of key flags for a module .
function: def _GetKeyFlagsForModule(self, module):
      """Returns the list of key flags for a module.
  
      Args:
        module: A module object or a module name (a string)
  
      Returns:
        A new list of Flag objects.  Caller may update this list as he
        wishes: none of those changes will affect the internals of this
        FlagValue object.
      """
      if not isinstance(module, str):
        module = module.__name__
  
      # Any flag is a key flag for the module that defined it.  NOTE:
      # key_flags is a fresh list: we can update it without affecting the
      # internals of this FlagValues object.
      key_flags = self._GetFlagsDefinedByModule(module)
  
      # Take into account flags explicitly declared as key for a module.
      for flag in self.KeyFlagsByModuleDict().get(module, []):
        if flag not in key_flags:
          key_flags.append(flag)
      return key_flags
function_tokens: def _GetKeyFlagsForModule ( self , module ) : if not isinstance ( module , str ) : module = module . __name__ # Any flag is a key flag for the module that defined it.  NOTE: # key_flags is a fresh list: we can update it without affecting the # internals of this FlagValues object. key_flags = self . _GetFlagsDefinedByModule ( module ) # Take into account flags explicitly declared as key for a module. for flag in self . KeyFlagsByModuleDict ( ) . get ( module , [ ] ) : if flag not in key_flags : key_flags . append ( flag ) return key_flags