@@ -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+
842855Pending 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-
873872Removed
874873=======
875874
0 commit comments