123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- # pylint: disable=unused-import
- import warnings
- from astroid.nodes.node_classes import ( # pylint: disable=redefined-builtin (Ellipsis)
- 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,
- Ellipsis,
- EmptyNode,
- EvaluatedObject,
- ExceptHandler,
- Expr,
- ExtSlice,
- For,
- FormattedValue,
- Global,
- If,
- IfExp,
- Import,
- ImportFrom,
- Index,
- 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,
- 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,
- )
|