From 3a1774811c7d12ce5b127f4b254f1d135f3d7540 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Mon, 26 Aug 2024 18:16:11 -0400 Subject: [PATCH] [3.12] gh-121804: Backport idlelib.pyshell change To aid future backports here. --- Lib/idlelib/pyshell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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