Skip to content

Commit 90b7428

Browse files
committed
Retarget removal for Python 3.19
3.14 + 5 = 3.19
1 parent e550c2a commit 90b7428

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/library/ast.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,13 @@ Node classes
161161
match any of the fields of the AST node. This behavior is deprecated and will
162162
be removed in Python 3.15.
163163

164-
.. deprecated-removed:: next 3.20
164+
.. deprecated-removed:: next 3.19
165165

166166
In the :ref:`grammar above <abstract-grammar>`, the AST node classes that
167167
correspond to production rules with variants (aka "sums") are abstract
168168
classes. Previous versions of Python allowed for the creation of direct
169169
instances of these abstract node classes. This behavior is deprecated and
170-
will be removed in Python 3.20.
170+
will be removed in Python 3.19.
171171

172172

173173
.. note::

Doc/whatsnew/3.15.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ ast
412412
---
413413

414414
* Creating instances of abstract AST nodes (such as :class:`ast.AST`
415-
or :class:`!ast.expr`) is deprecated and will raise an error in Python 3.20.
415+
or :class:`!ast.expr`) is deprecated and will raise an error in Python 3.19.
416416
(Contributed by Brian Schubert in :gh:`116021`.)
417417

418418

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Support for creating instances of abstract AST nodes from the :mod:`ast` module
2-
is deprecated and scheduled for removal in Python 3.20. Patch by Brian Schubert.
2+
is deprecated and scheduled for removal in Python 3.19. Patch by Brian Schubert.

Parser/asdl_c.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ def visitModule(self, mod):
889889
if (PyErr_WarnFormat(
890890
PyExc_DeprecationWarning, 1,
891891
"Instantiating abstract AST node class %T is deprecated. "
892-
"This will become an error in Python 3.20", self) < 0)
892+
"This will become an error in Python 3.19", self) < 0)
893893
{
894894
return -1;
895895
}

Python/Python-ast.c

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)