We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 271d7e7 commit 2d39992Copy full SHA for 2d39992
Doc/library/ast.rst
@@ -139,6 +139,13 @@ Node classes
139
The :meth:`~object.__repr__` output of :class:`~ast.AST` nodes includes
140
the values of the node fields.
141
142
+.. deprecated-removed:: 3.8 3.14
143
+
144
+ Previous versions of Python provided the AST classes :class:`!ast.Num`,
145
+ :class:`!ast.Str`, :class:`!ast.Bytes`, :class:`!ast.NameConstant` and
146
+ :class:`!ast.Ellipsis`, which were deprecated in Python 3.8 and removed in
147
+ Python 3.14, and which have been replaced with :class:`ast.Constant`.
148
149
.. deprecated:: 3.9
150
151
Old classes :class:`!ast.Index` and :class:`!ast.ExtSlice` are still
0 commit comments