File tree 1 file changed +3
-6
lines changed
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`
2130
2130
2131
2131
.. class :: ByteString(Sequence[int])
2132
2132
2133
- A generic version of :class: `collections.abc.ByteString `.
2134
-
2135
2133
This type represents the types :class: `bytes `, :class: `bytearray `,
2136
2134
and :class: `memoryview ` of byte sequences.
2137
2135
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
2142
2137
Prefer :class: `collections.abc.Buffer `, or a union like ``bytes | bytearray | memoryview ``.
2143
2138
2144
2139
.. 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.
2977
2972
| ``typing `` versions of standard | 3.9 | Undecided | :pep: `585 ` |
2978
2973
| collections | | | |
2979
2974
+----------------------------------+---------------+-------------------+----------------+
2975
+ | ``typing.ByteString `` | 3.9 | 3.14 | :gh: `91896 ` |
2976
+ +----------------------------------+---------------+-------------------+----------------+
2980
2977
| ``typing.Text `` | 3.11 | Undecided | :gh: `92332 ` |
2981
2978
+----------------------------------+---------------+-------------------+----------------+
2982
2979
| ``typing.Hashable `` and | 3.12 | Undecided | :gh: `94309 ` |
You can’t perform that action at this time.
0 commit comments