cpython: 22790c4f3b16 (original) (raw)
Mercurial > cpython
changeset 95644:22790c4f3b16 2.7
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 19:03:06 +0300 |
parents | 31c8b57f1197 |
children | 5576c8240963 |
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 @@ -163,7 +163,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 @@ -21,6 +21,9 @@ Core and Builtins Library ------- +- Issue #23811: Add missing newline to the PyCompileError error message.