Skip to content

Commit

Permalink
Ensure match/case are recognized as statements
Browse files Browse the repository at this point in the history
  • Loading branch information
isidentical committed Dec 2, 2021
1 parent b0c2bcc commit a1def1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/black/nodes.py
Expand Up @@ -52,6 +52,8 @@
syms.with_stmt,
syms.funcdef,
syms.classdef,
syms.match_stmt,
syms.case_block,
}
STANDALONE_COMMENT: Final = 153
token.tok_name[STANDALONE_COMMENT] = "STANDALONE_COMMENT"
Expand Down

0 comments on commit a1def1c

Please sign in to comment.