Skip to content

Commit 6496ffa

Browse files
authored
[3.13] gh-122085: Use include files for whatsnew/3.14.rst deprecations (GH-122242) (#122350)
1 parent 3648a94 commit 6496ffa

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
Pending Removal in Python 3.16
22
------------------------------
33

4-
* :class:`array.array` ``'u'`` type (:c:type:`wchar_t`):
4+
* :mod:`array`:
5+
:class:`array.array` ``'u'`` type (:c:type:`wchar_t`):
56
use the ``'w'`` type instead (``Py_UCS4``).
7+
8+
* :mod:`symtable`:
9+
Deprecate :meth:`symtable.Class.get_methods` due to the lack of interest.
10+
(Contributed by Bénédikt Tran in :gh:`119698`.)

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

+4
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ although there is currently no date scheduled for their removal.
3434
:class:`complex`: these methods will be required to return an instance of
3535
:class:`complex`.
3636
* Delegation of ``int()`` to ``__trunc__()`` method.
37+
* Passing a complex number as the *real* or *imag* argument in the
38+
:func:`complex` constructor is now deprecated; it should only be passed
39+
as a single positional argument.
40+
(Contributed by Serhiy Storchaka in :gh:`109218`.)
3741

3842
* :mod:`calendar`: ``calendar.January`` and ``calendar.February`` constants are
3943
deprecated and replaced by :data:`calendar.JANUARY` and

0 commit comments

Comments
 (0)