]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-102500: collections.abc.Buffer doesn't exist in 3.11 (#104317)
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>
Tue, 9 May 2023 09:27:15 +0000 (02:27 -0700)
committerGitHub <noreply@github.com>
Tue, 9 May 2023 09:27:15 +0000 (10:27 +0100)
Doc/library/typing.rst

index de716b3f2227411e988c09f95b59a0c668d5b8ee..2a53df4b746d63c985d7861c2fc2928eba73347d 100644 (file)
@@ -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])