@@ -839,6 +839,19 @@ Pending Removal in Python 3.14
839
839
use :func: `importlib.util.find_spec ` instead.
840
840
(Contributed by Nikita Sobolev in :gh: `97850 `.)
841
841
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
+
842
855
Pending Removal in Future Versions
843
856
----------------------------------
844
857
@@ -856,20 +869,6 @@ although there is currently no date scheduled for their removal.
856
869
:keyword: `for `, :keyword: `if `, :keyword: `in `, :keyword: `is ` and :keyword: `or `.
857
870
In a future release it will be changed to a syntax error. (:gh: `87999 `)
858
871
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
-
873
872
Removed
874
873
=======
875
874
0 commit comments