Skip to content

Commit f4ab4aa

Browse files
committed
tweak docs
1 parent 744c7c3 commit f4ab4aa

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Doc/deprecations/pending-removal-in-3.20.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Pending removal in Python 3.20
4343

4444
* Creating instances of abstract AST nodes (such as :class:`ast.AST`
4545
or :class:`!ast.expr`) is deprecated and will raise an error in Python 3.20.
46-
* Classes ``slice``, ``Index`` and ``ExtSlice``, ``Suite``, ``Param``,
46+
* Classes ``slice``, ``Index``, ``ExtSlice``, ``Suite``, ``Param``,
4747
``AugLoad`` and ``AugStore``, will be removed in Python 3.20. These types
4848
are not generated by the parser or accepted by the code generator.
4949
* The ``dims`` property of ``ast.Tuple`` will be removed in Python 3.20. Use

Doc/whatsnew/3.15.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1874,7 +1874,7 @@ New deprecations
18741874

18751875
* :mod:`ast`:
18761876

1877-
* Classes ``slice``, ``Index`` and ``ExtSlice``, ``Suite``, ``Param``,
1877+
* Classes ``slice``, ``Index``, ``ExtSlice``, ``Suite``, ``Param``,
18781878
``AugLoad`` and ``AugStore``, deprecated since Python 3.9, are no longer
18791879
imported by ``from ast import *`` and issue a deprecation warning on first
18801880
use. The classes are slated for removal in Python 3.20. These types are not
@@ -1897,6 +1897,7 @@ New deprecations
18971897
previously emitted if it was merely imported or accessed from the
18981898
:mod:`!collections.abc` module.
18991899

1900+
19001901
* :mod:`hashlib`:
19011902

19021903
* In hash function constructors such as :func:`~hashlib.new` or the

0 commit comments

Comments
 (0)