8000 [3.11] gh-102500: collections.abc.Buffer doesn't exist in 3.11 (#104317) · python/cpython@15624b4 · GitHub
[go: up one dir, main page]

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)
0