Skip to content

Commit c332f0d

Browse files
mxrsebastinas
authored andcommitted
black
1 parent 4605fab commit c332f0d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bpython/repl.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,9 @@ def runsource(
152152
with self.timer:
153153
return super().runsource(source, filename, symbol)
154154

155-
def showsyntaxerror(self, filename: Optional[str] = None, source: Optional[str] = None) -> None:
155+
def showsyntaxerror(
156+
self, filename: Optional[str] = None, source: Optional[str] = None
157+
) -> None:
156158
"""Override the regular handler, the code's copied and pasted from
157159
code.py, as per showtraceback, but with the syntaxerror callback called
158160
and the text in a pretty colour."""

0 commit comments

Comments
 (0)