mirror of https://github.com/python/cpython
Don't add multiple empty lines at the end of the codec. With this a
regenerated codec should survive reindent.py unchanged.
This commit is contained in:
parent
a35b05ebd0
commit
5d23f9a8a3
|
@ -348,7 +348,7 @@ def getregentry():
|
|||
l.extend(encoding_map_code)
|
||||
|
||||
# Final new-line
|
||||
l.append('\n')
|
||||
l.append('')
|
||||
|
||||
return '\n'.join(l).expandtabs()
|
||||
|
||||
|
|
Loading…
Reference in New Issue