File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -2130,15 +2130,10 @@ Corresponding to collections in :mod:`collections.abc`
21302130
21312131.. class :: ByteString(Sequence[int])
21322132
2133- A generic version of :class: `collections.abc.ByteString `.
2134-
21352133 This type represents the types :class: `bytes `, :class: `bytearray `,
21362134 and :class: `memoryview ` of byte sequences.
21372135
2138- As a shorthand for this type, :class: `bytes ` can be used to
2139- annotate arguments of any of the types mentioned above.
2140-
2141- .. deprecated :: 3.9
2136+ .. deprecated-removed :: 3.9 3.14
21422137 Prefer :class: `collections.abc.Buffer `, or a union like ``bytes | bytearray | memoryview ``.
21432138
21442139.. class :: Collection(Sized, Iterable[T_co], Container[T_co])
@@ -2977,6 +2972,8 @@ convenience. This is subject to change, and not all deprecations are listed.
29772972| ``typing `` versions of standard | 3.9 | Undecided | :pep: `585 ` |
29782973| collections | | | |
29792974+----------------------------------+---------------+-------------------+----------------+
2975+ | ``typing.ByteString `` | 3.9 | 3.14 | :gh: `91896 ` |
2976+ +----------------------------------+---------------+-------------------+----------------+
29802977| ``typing.Text `` | 3.11 | Undecided | :gh: `92332 ` |
29812978+----------------------------------+---------------+-------------------+----------------+
29822979| ``typing.Hashable `` and | 3.12 | Undecided | :gh: `94309 ` |
You can’t perform that action at this time.
0 commit comments