mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
[3.11] gh-102500: collections.abc.Buffer doesn't exist in 3.11 (#104317)
This commit is contained in:
parent
b7622e7a05
commit
15624b445e
1 changed files with 1 additions and 1 deletions
|
@ -2094,7 +2094,7 @@ Corresponding to collections in :mod:`collections.abc`
|
|||
and :class:`memoryview` of byte sequences.
|
||||
|
||||
.. deprecated-removed:: 3.9 3.14
|
||||
Prefer :class:`collections.abc.Buffer`, or a union like ``bytes | bytearray | memoryview``.
|
||||
Prefer ``typing_extensions.Buffer``, or a union like ``bytes | bytearray | memoryview``.
|
||||
|
||||
.. class:: Collection(Sized, Iterable[T_co], Container[T_co])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue