diff --git a/Python/freeze_importlib.py b/Python/freeze_importlib.py index a069a0b4d20..9cce0b1e7a4 100644 --- a/Python/freeze_importlib.py +++ b/Python/freeze_importlib.py @@ -24,6 +24,7 @@ def main(input_path, output_path): lines.append('};\n') with open(output_path, 'w') as output_file: output_file.write('\n'.join(lines)) + output_file.write('\u0000') if __name__ == '__main__': diff --git a/Python/importlib.h b/Python/importlib.h index 698023188bb..f11dcbb131c 100644 --- a/Python/importlib.h +++ b/Python/importlib.h @@ -3107,3 +3107,4 @@ unsigned char _Py_M__importlib[] = { 13,12,9,12,15,12,17,15,2,6,2,12,41,18,25,12, 23,12,15,24,34,12,45, }; + \ No newline at end of file