Skip to content

Commit

Permalink
Remove unused visit_package function
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielNoord authored and Pierre-Sassoulas committed Sep 1, 2021
1 parent 3f122e0 commit e49c3b1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pylint/pyreverse/inspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,6 @@ def visit_project(self, node):
for module in node.modules:
self.visit(module)

def visit_package(self, node):
"""visit an astroid.Package node
* optionally tag the node with a unique id
"""
if self.tag:
node.uid = self.generate_id()
for subelmt in node.values():
self.visit(subelmt)

def visit_module(self, node):
"""visit an astroid.Module node
Expand Down

0 comments on commit e49c3b1

Please sign in to comment.