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.
case +
1 parent 0036565 commit 2cc0da9Copy full SHA for 2cc0da9
1 file changed
Lib/_pyrepl/utils.py
@@ -274,7 +274,7 @@ def is_soft_keyword_used(*tokens: TI | None) -> bool:
274
None | TI(T.NEWLINE) | TI(T.INDENT) | TI(T.DEDENT) | TI(string=":"),
275
TI(string="case"),
276
TI(T.NUMBER | T.STRING | T.FSTRING_START | T.TSTRING_START)
277
- | TI(T.OP, string="(" | "*" | "-" | "[" | "{")
+ | TI(T.OP, string="(" | "*" | "-" | "+" | "[" | "{")
278
):
279
return True
280
case (
0 commit comments