Skip to content

Commit 8c949f3

Browse files
committed
Move whatsnew entry to correct location
1 parent 7e4cf89 commit 8c949f3

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

Doc/whatsnew/3.12.rst

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,19 @@ Pending Removal in Python 3.14
839839
use :func:`importlib.util.find_spec` instead.
840840
(Contributed by Nikita Sobolev in :gh:`97850`.)
841841

842+
* The following :mod:`ast` features have been deprecated in documentation since
843+
Python 3.8, now cause a :exc:`DeprecationWarning` to be emitted at runtime
844+
when they are accessed or used, and will be removed in Python 3.14.
845+
846+
* :class:`!ast.Num`
847+
* :class:`!ast.Str`
848+
* :class:`!ast.Bytes`
849+
* :class:`!ast.NameConstant`
850+
* :class:`!ast.Ellipsis`
851+
852+
Use :class:`ast.Constant` instead.
853+
(Contributed by Serhiy Storchaka in :gh:`90953`.)
854+
842855
Pending Removal in Future Versions
843856
----------------------------------
844857

@@ -856,20 +869,6 @@ although there is currently no date scheduled for their removal.
856869
:keyword:`for`, :keyword:`if`, :keyword:`in`, :keyword:`is` and :keyword:`or`.
857870
In a future release it will be changed to a syntax error. (:gh:`87999`)
858871

859-
* The following :mod:`ast` features have been deprecated in documentation since
860-
Python 3.8, now cause a :exc:`DeprecationWarning` to be emitted at runtime
861-
when they are accessed or used, and will be removed in Python 3.14.
862-
863-
* :class:`!ast.Num`
864-
* :class:`!ast.Str`
865-
* :class:`!ast.Bytes`
866-
* :class:`!ast.NameConstant`
867-
* :class:`!ast.Ellipsis`
868-
869-
Use :class:`ast.Constant` instead.
870-
(Contributed by Serhiy Storchaka in :gh:`90953`.)
871-
872-
873872
Removed
874873
=======
875874

0 commit comments

Comments
 (0)