mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
[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 7bafa0cf58
)
Co-authored-by: Filipe Laíns <lains@riseup.net>
This commit is contained in:
parent
76578884c5
commit
a18e4e9c15
2 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Add note about :pep:`585` in :mod:`collections.abc`.
|
Loading…
Add table
Add a link
Reference in a new issue