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 9b65de8 commit 4af294aCopy full SHA for 4af294a
pylint/checkers/refactoring/refactoring_checker.py
@@ -538,7 +538,7 @@ def _is_bool_const(node: nodes.Return | nodes.Assign) -> bool:
538
node.value.value, bool
539
)
540
541
- def _is_actual_elif(self, node: nodes.If | nodes.TryExcept) -> bool:
+ def _is_actual_elif(self, node: nodes.If | nodes.Try) -> bool:
542
"""Check if the given node is an actual elif.
543
544
This is a problem we're having with the builtin ast module,
0 commit comments