diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 162041fc7a846e..21aaa9e424e7cc 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -2130,14 +2130,9 @@ Corresponding to collections in :mod:`collections.abc` .. class:: ByteString(Sequence[int]) - A generic version of :class:`collections.abc.ByteString`. - This type represents the types :class:`bytes`, :class:`bytearray`, and :class:`memoryview` of byte sequences. - As a shorthand for this type, :class:`bytes` can be used to - annotate arguments of any of the types mentioned above. - .. deprecated:: 3.9 Prefer :class:`collections.abc.Buffer`, or a union like ``bytes | bytearray | memoryview``.