Skip to content

Commit 8ca139f

Browse files
Update pylint/extensions/mccabe.py
Co-authored-by: Jaap Roes <[email protected]>
1 parent a6203c0 commit 8ca139f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylint/extensions/mccabe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def _subgraph_parse(
139139
pathnode: _SubGraphNodes,
140140
extra_blocks: Sequence[nodes.ExceptHandler | nodes.MatchCase],
141141
) -> None:
142-
"""Parse the body and any `else` block of `if`, `for` or `match` statements."""
142+
"""Parse `match`/`case` blocks, or the body and `else` block of `if`/`for` statements."""
143143
loose_ends = []
144144
if isinstance(node, nodes.Match):
145145
for case in extra_blocks:

0 commit comments

Comments
 (0)