From 4deb32a99292a3b1f6b773f6f96f1a8990a19fe0 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Mon, 26 Aug 2024 19:59:14 -0400 Subject: [PATCH] [3.12] gh-121804: Backport idlelib.pyshell change (GH-121886) (#123366) 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