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 948a0b0 commit eb3f8bcCopy full SHA for eb3f8bc
1 file changed
Lib/_pyrepl/utils.py
@@ -258,7 +258,7 @@ def is_soft_keyword_used(*tokens: TI | None) -> bool:
258
case (TI(string="case"), TI(string="_"), TI(string=":")):
259
return True
260
case (
261
- None | TI(T.NEWLINE) | TI(T.INDENT) | TI(string=":"),
+ None | TI(T.NEWLINE) | TI(T.INDENT) | TI(T.DEDENT) | TI(string=":"),
262
TI(string="type"),
263
TI(T.NAME, string=s)
264
):
0 commit comments