Skip to content

Commit da89985

Browse files
authored
Remove obsolete comment from ASTWalker.walk (#9916)
The related code was removed in 98c887d.
1 parent d561731 commit da89985

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pylint/utils/ast_walker.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ def walk(self, astroid: nodes.NodeNG) -> None:
7575
"""
7676
cid = astroid.__class__.__name__.lower()
7777

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

0 commit comments

Comments
 (0)