[Python-checkins] [3.11] gh-102500: collections.abc.Buffer doesn't exist in 3.11 (#104317)
AlexWaygood
webhook-mailer at python.org
Tue May 9 05:27:23 EDT 2023
https://github.com/python/cpython/commit/15624b445e57859edb13eec64f0cd71198f0fc00
commit: 15624b445e57859edb13eec64f0cd71198f0fc00
branch: 3.11
author: Shantanu <12621235+hauntsaninja at users.noreply.github.com>
committer: AlexWaygood <Alex.Waygood at Gmail.com>
date: 2023-05-09T10:27:15+01:00
summary:
[3.11] gh-102500: collections.abc.Buffer doesn't exist in 3.11 (#104317)
files:
M Doc/library/typing.rst
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index de716b3f2227..2a53df4b746d 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])
More information about the Python-checkins
mailing list