Skip to content

Commit 15624b4

Browse files
authored
[3.11] gh-102500: collections.abc.Buffer doesn't exist in 3.11 (#104317)
1 parent b7622e7 commit 15624b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/typing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2094,7 +2094,7 @@ Corresponding to collections in :mod:`collections.abc`
20942094
and :class:`memoryview` of byte sequences.
20952095

20962096
.. deprecated-removed:: 3.9 3.14
2097-
Prefer :class:`collections.abc.Buffer`, or a union like ``bytes | bytearray | memoryview``.
2097+
Prefer ``typing_extensions.Buffer``, or a union like ``bytes | bytearray | memoryview``.
20982098

20992099
.. class:: Collection(Sized, Iterable[T_co], Container[T_co])
21002100

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy