Skip to content

Commit 9a69e5a

Browse files
committed
revert
1 parent 4949502 commit 9a69e5a

4 files changed

Lines changed: 5 additions & 21 deletions

File tree

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

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
Pending removal in Python 3.20
22
------------------------------
33

4-
* :mod:`struct`:
5-
6-
- Calling the ``__new__()`` method of :class:`struct.Struct` without the
7-
*format* argument is deprecated and will be removed in Python 3.20. Calling
8-
:meth:`~object.__init__` method on initialized :class:`~struct.Struct`
9-
objects is deprecated and will be removed in Python 3.20.
10-
(Contributed by Sergey B Kirpichev and Serhiy Storchaka in :gh:`143715`.)
11-
12-
- Support for ``'F'`` and ``'D'`` format type codes (the :c:expr:`float
13-
complex` and :c:expr:`double complex` C types, respectively)
14-
(Contributed by Sergey B Kirpichev in :gh:`121249`.)
4+
* Calling the ``__new__()`` method of :class:`struct.Struct` without the
5+
*format* argument is deprecated and will be removed in Python 3.20. Calling
6+
:meth:`~object.__init__` method on initialized :class:`~struct.Struct`
7+
objects is deprecated and will be removed in Python 3.20.
158

9+
(Contributed by Sergey B Kirpichev and Serhiy Storchaka in :gh:`143715`.)
1610

1711
* The ``__version__``, ``version`` and ``VERSION`` attributes have been
1812
deprecated in these standard library modules and will be removed in

Doc/library/struct.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,6 @@ platform-dependent.
283283
.. versionchanged:: next
284284
Added support for the ``'Zf'`` and ``'Zd'`` formats.
285285

286-
.. deprecated-removed:: 3.15 3.20
287-
Support for the ``'F'`` and ``'D'`` format codes.
288-
289286
.. seealso::
290287

291288
The :mod:`array` and :ref:`ctypes <ctypes-fundamental-data-types>` modules,

Doc/whatsnew/3.15.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2237,11 +2237,6 @@ New deprecations
22372237

22382238
(Contributed by Sergey B Kirpichev and Serhiy Storchaka in :gh:`143715`.)
22392239

2240-
- Support for ``'F'`` and ``'D'`` format type codes (the :c:expr:`float
2241-
complex` and :c:expr:`double complex` C types, respectively)
2242-
(Contributed by Sergey B Kirpichev in :gh:`121249`.)
2243-
2244-
22452240
* :mod:`typing`:
22462241

22472242
* The following statements now cause ``DeprecationWarning``\ s to be emitted

Misc/NEWS.d/next/Library/2026-05-04-05-22-48.gh-issue-121249.XN06Fd.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)