(self, patch_file, lines_to_write)
Write lines_to_write to a the file called patch_file

        :param patch_file: file name of the patch to generate
        :param lines_to_write: lines to write to the file - they should be \n terminated
        :type lines_to_write: list[str]

        :return: None
Write lines_to_write to a the file called patch_file
Write lines_to_write to a the file called patch_file
def write_patch_file(self, patch_file, lines_to_write):
        """Write lines_to_write to a the file called patch_file

        :param patch_file: file name of the patch to generate
        :param lines_to_write: lines to write to the file - they should be \n terminated
        :type lines_to_write: list[str]

        :return: None
        """
        with open(patch_file, 'w') as f:
            f.writelines(lines_to_write)
def write_patch_file ( self , patch_file , lines_to_write ) : with open ( patch_file , 'w' ) as f : f . writelines ( lines_to_write )