We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b31cca + 400f5ed commit 72d8e61Copy full SHA for 72d8e61
bpython/repl.py
@@ -153,7 +153,7 @@ def runsource(
153
return super().runsource(source, filename, symbol)
154
155
def showsyntaxerror(
156
- self, filename: Optional[str] = None, source: Optional[str] = None
+ self, filename: Optional[str] = None, **kwargs
157
) -> None:
158
"""Override the regular handler, the code's copied and pasted from
159
code.py, as per showtraceback, but with the syntaxerror callback called
0 commit comments