Skip to content

Commit 7c57211

Browse files
committed
NEWS: Finish detailing the change to the ast module.
1 parent 3249a2e commit 7c57211

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed
Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1-
The classes ``ast.Suite``, ``ast.AugLoad``, ``ast.AugStore``, and
2-
``ast.Param``, deprecated since Python 3.9, now issue deprecation warnings
3-
on use. They are now scheduled for removal in Python 3.20.
1+
The classes ``ast.slice``, ``ast.Index``, ``ast.Suite``, ``ast.AugLoad``,
2+
``ast.AugStore``, and ``ast.Param``, deprecated since Python 3.9, now issue
3+
deprecation warnings on use. They are now scheduled for removal in Python 3.20.
4+
5+
The ``dims`` property of ``ast.Tuple`` objects, deprecated since Python 3.9,
6+
now issues a deprecation warning when accessed. The property is scheduled for
7+
removal in Python 3.20. Use the (non-deprecated) ``elts`` property of
8+
``ast.Tuple`` objects instead.
9+
10+
The deprecated global names are also no longer imported by
11+
``from ast import *``.

0 commit comments

Comments
 (0)