Skip to content

Commit 0063249

Browse files
committed
blurb and docs
1 parent be5d2e6 commit 0063249

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Doc/deprecations/pending-removal-in-3.17.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ Pending removal in Python 3.17
99
3.17. Users should use documented introspection helpers like :func:`typing.get_origin`
1010
and :func:`typing.get_args` instead of relying on private implementation details.
1111
- :class:`typing.ByteString`, deprecated since Python 3.9, is scheduled for removal in
12-
Python 3.17. Prefer :class:`~collections.abcSequence` or
12+
Python 3.17. Prefer :class:`~collections.abc.Sequence` or
1313
:class:`~collections.abc.Buffer`. For use in type annotations, prefer a union, like
1414
``bytes | bytearray``, or :class:`collections.abc.Buffer`.
1515
(Contributed by Shantanu Jain in :gh:`91896`.)
1616

1717
* :mod:`collections.abc`:
1818

1919
- :class:`collections.abc.ByteString` is scheduled for removal in Python 3.17. Prefer
20-
:class:`~collections.abcSequence` or :class:`~collections.abc.Buffer`. For use in
20+
:class:`~collections.abc.Sequence` or :class:`~collections.abc.Buffer`. For use in
2121
type annotations, prefer a union, like ``bytes | bytearray``, or
2222
:class:`collections.abc.Buffer`. (Contributed by Shantanu Jain in :gh:`91896`.)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Add back :class:`collections.abc.ByteString` and :class:`typing.ByteString`.
2+
Both had been removed in prior alpha, beta and release candidates for Python
3+
3.14, but their removal has now been postponed to Python 3.17.

0 commit comments

Comments
 (0)