Skip to content

Commit

Permalink
Add astroid.objects.ExceptionInstance import
Browse files Browse the repository at this point in the history
With typing added to parts of the code in ``pylint`` it has become useful 
to import this class so ``pylint`` can access it. See discussion in:
pylint-dev/pylint#4940
  • Loading branch information
DanielNoord authored and Pierre-Sassoulas committed Sep 4, 2021
1 parent af42517 commit 46628ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions astroid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
from astroid.const import Context, Del, Load, Store
from astroid.exceptions import *
from astroid.inference_tip import _inference_tip_cached, inference_tip
from astroid.objects import ExceptionInstance

# isort: off
# It's impossible to import from astroid.nodes with a wildcard, because
Expand Down

0 comments on commit 46628ba

Please sign in to comment.