chrome/tools/build/win/resedit.py
def UpdateResource(self, res_type, res_lang, res_name, file_path):
    """Inserts or updates a given resource with the contents of a file.

    This is a legacy version of UpdateResourceData, where the data arg is read
    from a file , rather than passed directly.
    """
    _LOGGER.info('Writing resource from file %s', file_path)
    with open(file_path, 'rb') as f:
      self.UpdateResourceData(res_type, res_lang, res_name, f.read())
Inserts or updates a given resource with the contents of a file.

    This is a legacy version of UpdateResourceData, where the data arg is read
    from a file , rather than passed directly.
    
Inserts or updates a given resource with the contents of a file.
This is a legacy version of UpdateResourceData, where the data arg is read
from a file , rather than passed directly.
Inserts or updates a given resource with the contents of a file . This is a legacy version of UpdateResourceData where the data arg is read from a file rather than passed directly .
def UpdateResource(self, res_type, res_lang, res_name, file_path):
    _LOGGER.info('Writing resource from file %s', file_path)
    with open(file_path, 'rb') as f:
      self.UpdateResourceData(res_type, res_lang, res_name, f.read())
def UpdateResource ( self , res_type , res_lang , res_name , file_path ) : _LOGGER . info ( 'Writing resource from file %s' , file_path ) with open ( file_path , 'rb' ) as f : self . UpdateResourceData ( res_type , res_lang , res_name , f . read ( ) )
Inserts or updates a given resource with the contents of a file.
Inserts or updates a given resource with the contents of a file .
"""Inserts or updates a given resource with the contents of a file.

    This is a legacy version of UpdateResourceData, where the data arg is read
    from a file , rather than passed directly.
    """
self
res_type
res_lang
res_name
file_path