summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/py_compile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/py_compile.py b/Lib/py_compile.py
index 02b0136..1cb41f1 100644
--- a/Lib/py_compile.py
+++ b/Lib/py_compile.py
@@ -128,7 +128,7 @@ def compile(file, cfile=None, dfile=None, doraise=False):
if doraise:
raise py_exc
else:
- sys.stderr.write(py_exc.msg)
+ sys.stderr.write(py_exc.msg + '\n')
return
if cfile is None:
cfile = file + (__debug__ and 'c' or 'o')