https://github.com/python/cpython/commit/4deb32a99292a3b1f6b773f6f96f1a8990a19fe0
commit: 4deb32a99292a3b1f6b773f6f96f1a8990a19fe0
branch: 3.12
author: Terry Jan Reedy <[email protected]>
committer: terryjreedy <[email protected]>
date: 2024-08-26T19:59:14-04:00
summary:

[3.12] gh-121804: Backport idlelib.pyshell change (GH-121886) (#123366)

To aid future backports here.

files:
M Lib/idlelib/pyshell.py

diff --git a/Lib/idlelib/pyshell.py b/Lib/idlelib/pyshell.py
index d8b2652d5d7979..e882c6cb3b8d19 100755
--- a/Lib/idlelib/pyshell.py
+++ b/Lib/idlelib/pyshell.py
@@ -706,7 +706,7 @@ def prepend_syspath(self, filename):
             del _filename, _sys, _dirname, _dir
             \n""".format(filename))
 
-    def showsyntaxerror(self, filename=None):
+    def showsyntaxerror(self, filename=None, **kwargs):
         """Override Interactive Interpreter method: Use Colorizing
 
         Color the offending position instead of printing it and pointing at it

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to