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