mirror of
https://github.com/python/cpython.git
synced 2025-07-17 08:15:19 +00:00
Issue #15103: remove the NUL character (serving as a Mercurial binary marker) from Python/importlib.h.
Instead the email notification hook uses a configuration option to omit importlib.h diffs.
This commit is contained in:
parent
1617077bcc
commit
1d25b6f04a
2 changed files with 8 additions and 9 deletions
|
@ -24,7 +24,6 @@ def main(input_path, output_path):
|
|||
lines.append('};\n')
|
||||
with open(output_path, 'w', encoding='utf-8') as output_file:
|
||||
output_file.write('\n'.join(lines))
|
||||
output_file.write('/* Mercurial binary marker: \x00 */')
|
||||
# Avoid a compiler warning for lack of EOL
|
||||
output_file.write('\n')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue