chrome/tools/build/win/resedit.py
def RemoveResource(self, res_type, res_lang, res_name):
    """Removes a given resource, specified by type, language id and name.

    Args:
      res_type: the type of the resource, e.g. "B7".
      res_lang: the language id of the resource, e.g. 1033.
      res_name: the name of the resource, e.g. "SETUP.EXE".
    """
    _LOGGER.info('Removing resource "%s:%s".', res_type, res_name)
    # We have to go native to perform a removal.
    ret = UpdateResource(self.update_handle,
                         res_type,
                         res_name,
                         res_lang,
                         None,
                         0)
    # Raise an error on failure.
    if ret == 0:
      error = win32api.GetLastError()
      print ("error", error)
      raise RuntimeError(error)
    self._modified = True
Removes a given resource, specified by type, language id and name.

    Args:
      res_type: the type of the resource, e.g. "B7".
      res_lang: the language id of the resource, e.g. 1033.
      res_name: the name of the resource, e.g. "SETUP.EXE".
    
Removes a given resource, specified by type, language id and name.
Removes a given resource specified by type language id and name .
def RemoveResource(self, res_type, res_lang, res_name):
    _LOGGER.info('Removing resource "%s:%s".', res_type, res_name)
    ret = UpdateResource(self.update_handle,
                         res_type,
                         res_name,
                         res_lang,
                         None,
                         0)
    if ret == 0:
      error = win32api.GetLastError()
      print ("error", error)
      raise RuntimeError(error)
    self._modified = True
def RemoveResource ( self , res_type , res_lang , res_name ) : _LOGGER . info ( 'Removing resource "%s:%s".' , res_type , res_name ) ret = UpdateResource ( self . update_handle , res_type , res_name , res_lang , None , 0 ) if ret == 0 : error = win32api . GetLastError ( ) print ( "error" , error ) raise RuntimeError ( error ) self . _modified = True
Removes a given resource, specified by type, language id and name.
Removes a given resource specified by type language id and name .
"""Removes a given resource, specified by type, language id and name.

    Args:
      res_type: the type of the resource, e.g. "B7".
      res_lang: the language id of the resource, e.g. 1033.
      res_name: the name of the resource, e.g. "SETUP.EXE".
    """ # We have to go native to perform a removal. # Raise an error on failure.
self
res_type
the type of the resource, e.g. "B7".
the type of the resource e . g . " B7 " .
res_lang
the language id of the resource, e.g. 1033.
the language id of the resource e . g . 1033 .
res_name
the name of the resource, e.g. "SETUP.EXE".
the name of the resource e . g . " SETUP . EXE " .