Skip to content

Commit

Permalink
Import from astroid.nodes directly
Browse files Browse the repository at this point in the history
Sometime it's already possible. see #1141 (comment)

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
  • Loading branch information
Pierre-Sassoulas and cdce8p committed Aug 30, 2021
1 parent 8a490bb commit 7147b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astroid/bases.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ def _infer_type_new_call(self, caller, context):
needs to be a tuple of classes
"""
# pylint: disable=import-outside-toplevel; circular import
from astroid.nodes.node_classes import Pass
from astroid.nodes import Pass

# Verify the metaclass
try:
Expand Down

0 comments on commit 7147b7e

Please sign in to comment.