fix typo in r79533, introduced by the fix for issue #8233
diff --git a/Lib/py_compile.py b/Lib/py_compile.py
index f88cfbb..dc1cae9 100644
--- a/Lib/py_compile.py
+++ b/Lib/py_compile.py
@@ -160,7 +160,7 @@
         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)