Skip to content

Commit

Permalink
Remove obsolete comment from ASTWalker.walk (#9916)
Browse files Browse the repository at this point in the history
The related code was removed in 98c887d.
  • Loading branch information
correctmost authored Sep 7, 2024
1 parent d561731 commit da89985
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pylint/utils/ast_walker.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ def walk(self, astroid: nodes.NodeNG) -> None:
"""
cid = astroid.__class__.__name__.lower()

# Detect if the node is a new name for a deprecated alias.
# In this case, favour the methods for the deprecated
# alias if any, in order to maintain backwards
# compatibility.
visit_events: Sequence[AstCallback] = self.visit_events.get(cid, ())
leave_events: Sequence[AstCallback] = self.leave_events.get(cid, ())

Expand Down

0 comments on commit da89985

Please sign in to comment.