diff --git a/Lib/py_compile.py b/Lib/py_compile.py index f88cfbb5af5..dc1cae98dd9 100644 --- a/Lib/py_compile.py +++ b/Lib/py_compile.py @@ -160,7 +160,7 @@ def main(args=None): for filename in args: try: compile(filename, doraise=True) - except PyCompileError as err: + except PyCompileError as error: # return value to indicate at least one failure rv = 1 sys.stderr.write(error.msg)