From 2547efd1f73ff55d35cff8f62c023c26404f21da Mon Sep 17 00:00:00 2001 From: hauntsaninja Date: Tue, 9 May 2023 02:14:59 -0700 Subject: [PATCH] [3.11] gh-102500: collections.abc.Buffer doesn't exist in 3.11 --- Doc/library/typing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index de716b3f222741..2a53df4b746d63 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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]) 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