@@ -2035,16 +2035,6 @@ def _get_yield_nodes_skip_lambdas(self):
2035
2035
yield from self .value ._get_yield_nodes_skip_lambdas ()
2036
2036
2037
2037
2038
- class Ellipsis (_base_nodes .NoChildrenNode ): # pylint: disable=redefined-builtin
2039
- """Class representing an :class:`ast.Ellipsis` node.
2040
-
2041
- An :class:`Ellipsis` is the ``...`` syntax.
2042
-
2043
- Deprecated since v2.6.0 - Use :class:`Const` instead.
2044
- Will be removed with the release v2.7.0
2045
- """
2046
-
2047
-
2048
2038
class EmptyNode (_base_nodes .NoChildrenNode ):
2049
2039
"""Holds an arbitrary object in the :attr:`LocalsDictNodeNG.locals`."""
2050
2040
@@ -2149,16 +2139,6 @@ def catch(self, exceptions: list[str] | None) -> bool:
2149
2139
return any (node .name in exceptions for node in self .type ._get_name_nodes ())
2150
2140
2151
2141
2152
- class ExtSlice (NodeNG ):
2153
- """Class representing an :class:`ast.ExtSlice` node.
2154
-
2155
- An :class:`ExtSlice` is a complex slice expression.
2156
-
2157
- Deprecated since v2.6.0 - Now part of the :class:`Subscript` node.
2158
- Will be removed with the release of v2.7.0
2159
- """
2160
-
2161
-
2162
2142
class For (
2163
2143
_base_nodes .MultiLineWithElseBlockNode ,
2164
2144
_base_nodes .AssignTypeNode ,
@@ -2644,16 +2624,6 @@ def __init__(
2644
2624
)
2645
2625
2646
2626
2647
- class Index (NodeNG ):
2648
- """Class representing an :class:`ast.Index` node.
2649
-
2650
- An :class:`Index` is a simple subscript.
2651
-
2652
- Deprecated since v2.6.0 - Now part of the :class:`Subscript` node.
2653
- Will be removed with the release of v2.7.0
2654
- """
2655
-
2656
-
2657
2627
class Keyword (NodeNG ):
2658
2628
"""Class representing an :class:`ast.keyword` node.
2659
2629
0 commit comments