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.
1 parent b8693e4 commit cbcf063Copy full SHA for cbcf063
1 file changed
Lib/_pyrepl/utils.py
@@ -239,10 +239,8 @@ def gen_colors_from_token_stream(
239
yield ColorSpan(span, "soft_keyword")
240
elif (
241
token.string in COMMANDS
242
- and (
243
- (not prev_token or prev_token.exact_type == T.INDENT)
244
- and (not next_token or next_token.type == T.NEWLINE)
245
- )
+ and (not prev_token or prev_token.exact_type == T.INDENT)
+ and (not next_token or next_token.type == T.NEWLINE)
246
):
247
span = Span.from_token(token, line_lengths)
248
yield ColorSpan(span, "command")
0 commit comments