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 a6203c0 commit 8ca139fCopy full SHA for 8ca139f
pylint/extensions/mccabe.py
@@ -139,7 +139,7 @@ def _subgraph_parse(
139
pathnode: _SubGraphNodes,
140
extra_blocks: Sequence[nodes.ExceptHandler | nodes.MatchCase],
141
) -> None:
142
- """Parse the body and any `else` block of `if`, `for` or `match` statements."""
+ """Parse `match`/`case` blocks, or the body and `else` block of `if`/`for` statements."""
143
loose_ends = []
144
if isinstance(node, nodes.Match):
145
for case in extra_blocks:
0 commit comments