# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE # Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt # pylint: disable=unused-import import warnings from astroid.nodes.node_classes import ( CONST_CLS, AnnAssign, Arguments, Assert, Assign, AssignAttr, AssignName, AsyncFor, AsyncWith, Attribute, AugAssign, Await, BaseContainer, BinOp, BoolOp, Break, Call, Compare, Comprehension, Const, Continue, Decorators, DelAttr, Delete, DelName, Dict, DictUnpack, EmptyNode, EvaluatedObject, ExceptHandler, Expr, For, FormattedValue, Global, If, IfExp, Import, ImportFrom, JoinedStr, Keyword, List, LookupMixIn, Match, MatchAs, MatchCase, MatchClass, MatchMapping, MatchOr, MatchSequence, MatchSingleton, MatchStar, MatchValue, Name, NamedExpr, NodeNG, Nonlocal, Pass, Pattern, Raise, Return, Set, Slice, Starred, Subscript, TryExcept, TryFinally, TryStar, Tuple, UnaryOp, Unknown, While, With, Yield, YieldFrom, are_exclusive, const_factory, unpack_infer, ) # We cannot create a __all__ here because it would create a circular import # Please remove astroid/scoped_nodes.py|astroid/node_classes.py in autoflake # exclude when removing this file. warnings.warn( "The 'astroid.node_classes' module is deprecated and will be replaced by " "'astroid.nodes' in astroid 3.0.0", DeprecationWarning, stacklevel=2, )