Skip to content

Commit d9fcae5

Browse files
Remove deprecation warning raised by own astroid code
Following comment here: https://github.com/PyCQA/astroid/issues/1072\#issuecomment-925471310
1 parent 05445e2 commit d9fcae5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ChangeLog

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Release date: TBA
2626

2727
Closes PyCQA/pylint#5048
2828

29+
* Astroid does not trigger it's own deprecation warning anymore.
2930

3031
What's New in astroid 2.8.0?
3132
============================

astroid/__init__.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,10 @@
4848
# the version before the dependencies are installed (in particular 'wrapt'
4949
# that is imported in astroid.inference)
5050
from astroid.__pkginfo__ import __version__, version
51+
from astroid.nodes import node_classes, scoped_nodes
5152

5253
# isort: on
5354

54-
from astroid import node_classes # Deprecated, to remove later
55-
from astroid import scoped_nodes # Deprecated, to remove later
5655
from astroid import inference, raw_building
5756
from astroid.astroid_manager import MANAGER
5857
from astroid.bases import BaseInstance, BoundMethod, Instance, UnboundMethod

0 commit comments

Comments
 (0)