Skip to content

Commit 2cc0da9

Browse files
committed
Colorize case +
1 parent 0036565 commit 2cc0da9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/_pyrepl/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def is_soft_keyword_used(*tokens: TI | None) -> bool:
274274
None | TI(T.NEWLINE) | TI(T.INDENT) | TI(T.DEDENT) | TI(string=":"),
275275
TI(string="case"),
276276
TI(T.NUMBER | T.STRING | T.FSTRING_START | T.TSTRING_START)
277-
| TI(T.OP, string="(" | "*" | "-" | "[" | "{")
277+
| TI(T.OP, string="(" | "*" | "-" | "+" | "[" | "{")
278278
):
279279
return True
280280
case (

0 commit comments

Comments
 (0)