summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-09-25 19:33:19 +0200
committerGitHub <noreply@github.com>2021-09-25 19:33:19 +0200
commit49b1411a0e0989fe221b962b43d1d89302c95ff4 (patch)
treef1b06c302cf74e36774d6301cfc6554b7feddcb7
parent05445e23fe1292eda236f8d15674aa2fea811720 (diff)
downloadastroid-git-49b1411a0e0989fe221b962b43d1d89302c95ff4.tar.gz
Remove deprecation warning raised by own astroid code (#1190)
Following comment here: https://github.com/PyCQA/astroid/issues/1072\#issuecomment-925471310
-rw-r--r--ChangeLog1
-rw-r--r--astroid/__init__.py3
2 files changed, 2 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 96997f0e..0c6d73c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -26,6 +26,7 @@ Release date: TBA
Closes PyCQA/pylint#5048
+* Astroid does not trigger it's own deprecation warning anymore.
What's New in astroid 2.8.0?
============================
diff --git a/astroid/__init__.py b/astroid/__init__.py
index 8f7b501d..6b2b5377 100644
--- a/astroid/__init__.py
+++ b/astroid/__init__.py
@@ -48,11 +48,10 @@ from pathlib import Path
# the version before the dependencies are installed (in particular 'wrapt'
# that is imported in astroid.inference)
from astroid.__pkginfo__ import __version__, version
+from astroid.nodes import node_classes, scoped_nodes
# isort: on
-from astroid import node_classes # Deprecated, to remove later
-from astroid import scoped_nodes # Deprecated, to remove later
from astroid import inference, raw_building
from astroid.astroid_manager import MANAGER
from astroid.bases import BaseInstance, BoundMethod, Instance, UnboundMethod