chrome/tools/build/win/resedit.py
def UpdateResourceData(self, res_type, res_lang, res_name, data):
    """Inserts or updates a given resource with the given data.

    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".
      data: the new resource data.
    """
    _LOGGER.info('Writing resource "%s:%s"', res_type, res_name)
    win32api.UpdateResource(self.update_handle,
                            res_type,
                            res_name,
                            data,
                            res_lang)
    self._modified = True
Inserts or updates a given resource with the given data.

    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".
      data: the new resource data.
    
Inserts or updates a given resource with the given data.
Inserts or updates a given resource with the given data .
def UpdateResourceData(self, res_type, res_lang, res_name, data):
    _LOGGER.info('Writing resource "%s:%s"', res_type, res_name)
    win32api.UpdateResource(self.update_handle,
                            res_type,
                            res_name,
                            data,
                            res_lang)
    self._modified = True
def UpdateResourceData ( self , res_type , res_lang , res_name , data ) : _LOGGER . info ( 'Writing resource "%s:%s"' , res_type , res_name ) win32api . UpdateResource ( self . update_handle , res_type , res_name , data , res_lang ) self . _modified = True
Inserts or updates a given resource with the given data.
Inserts or updates a given resource with the given data .
"""Inserts or updates a given resource with the given data.

    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".
      data: the new resource data.
    """
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 " .
data
the new resource data.
the new resource data .