Skip to content

Commit

Permalink
[3.11] gh-102500: collections.abc.Buffer doesn't exist in 3.11 (#104317)
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja authored May 9, 2023
1 parent b7622e7 commit 15624b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down

0 comments on commit 15624b4

Please sign in to comment.