diff options
author | Łukasz Langa <lukasz@langa.pl> | 2021-10-19 20:50:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-19 20:50:09 +0200 |
commit | a18e4e9c15a0be833e01c3892206661fc91e6918 (patch) | |
tree | 108fab17104b58dc0069e6ccd1e17a10a4ff5286 /Doc | |
parent | 76578884c5c727c013cba9d14ced9040b5a0c8a1 (diff) | |
download | cpython-git-a18e4e9c15a0be833e01c3892206661fc91e6918.tar.gz |
[3.9] bpo-45449: add note about PEP 585 in collections.abc's documentation (GH-29047) (GH-29068)
Signed-off-by: Filipe Laíns <lains@riseup.net>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>.
(cherry picked from commit 7bafa0cf586227987d3d662264d491e3780024b7)
Co-authored-by: Filipe Laíns <lains@riseup.net>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/collections.abc.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/collections.abc.rst b/Doc/library/collections.abc.rst index 2345e78a17..cb4f767097 100644 --- a/Doc/library/collections.abc.rst +++ b/Doc/library/collections.abc.rst @@ -24,6 +24,9 @@ This module provides :term:`abstract base classes <abstract base class>` that can be used to test whether a class provides a particular interface; for example, whether it is hashable or whether it is a mapping. +.. versionadded:: 3.9 + These abstract classes now support ``[]``. See :ref:`types-genericalias` + and :pep:`585`. .. _collections-abstract-base-classes: |