cpython: d39fe1e112a3 (original) (raw)
Mercurial > cpython
changeset 95642:d39fe1e112a3
Issue #23811: Add missing newline to the PyCompileError error message. Patch by Alex Shkop. [#23811]
Berker Peksag berker.peksag@gmail.com | |
---|---|
date | Tue, 14 Apr 2015 18:58:45 +0300 |
parents | ae1528beae67(current diff)1e139b3c489e(diff) |
children | a5a2b33993e3 |
files | Lib/py_compile.py Misc/NEWS |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-)[+] [-] Lib/py_compile.py 2 Misc/NEWS 3 |
line wrap: on
line diff
--- a/Lib/py_compile.py +++ b/Lib/py_compile.py @@ -179,7 +179,7 @@ def main(args=None): except PyCompileError as error: # return value to indicate at least one failure rv = 1
sys.stderr.write(error.msg)[](#l1.7)
--- a/Misc/NEWS +++ b/Misc/NEWS @@ -31,6 +31,9 @@ Core and Builtins Library ------- +- Issue #23811: Add missing newline to the PyCompileError error message.