mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
Issue #23811: Add missing newline to the PyCompileError error message.
Patch by Alex Shkop.
This commit is contained in:
parent
b3c30d9114
commit
34c9be7ebd
2 changed files with 4 additions and 1 deletions
|
@ -178,7 +178,7 @@ def main(args=None):
|
|||
except PyCompileError as error:
|
||||
# return value to indicate at least one failure
|
||||
rv = 1
|
||||
sys.stderr.write(error.msg)
|
||||
sys.stderr.write("%s\n" % error.msg)
|
||||
return rv
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue