8000 [3.12] gh-122085: Use include files for `whatsnew/3.14.rst` deprecati… · python/cpython@fb2826a · GitHub
[go: up one dir, main page]

Skip to content

Commit fb2826a

Browse files
authored
[3.12] gh-122085: Use include files for whatsnew/3.14.rst deprecations (GH-122242) (#122351)
1 parent 2e37d67 commit fb2826a

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed
Lines changed: 6 additions & 1 deletion
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

Lines changed: 4 additions & 0 deletions
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)
0