diff --git a/Lib/py_compile.py b/Lib/py_compile.py index f257770cbc0..03f2c6279d1 100644 --- a/Lib/py_compile.py +++ b/Lib/py_compile.py @@ -169,7 +169,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)