gh-123299: Copyedit "What's New in Python 3.14" (#125438) · python/cpython@66064c3 · GitHub
Skip to content

Commit 66064c3

Browse files
authored
gh-123299: Copyedit "What's New in Python 3.14" (#125438)
1 parent a2fe9ff commit 66064c3

10 files changed

Lines changed: 79 additions & 78 deletions

Doc/deprecations/c-api-pending-removal-in-3.14.rst

Lines changed: 1 addition & 1 deletion

Doc/deprecations/c-api-pending-removal-in-3.15.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Pending Removal in Python 3.15
1+
Pending removal in Python 3.15
22
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33

44
* The bundled copy of ``libmpdecimal``.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Pending Removal in Future Versions
1+
Pending removal in future versions
22
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33

44
The following APIs are deprecated and will be removed,

Doc/deprecations/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Deprecations
77

88
.. include:: pending-removal-in-future.rst
99

10-
C API Deprecations
10+
C API deprecations
1111
------------------
1212

1313
.. include:: c-api-pending-removal-in-3.15.rst

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Pending Removal in Python 3.13
1+
Pending removal in Python 3.13
22
------------------------------
33

44
Modules (see :pep:`594`):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Pending Removal in Python 3.14
1+
Pending removal in Python 3.14
22
------------------------------
33

44
* The import system:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Pending Removal in Python 3.15
1+
Pending removal in Python 3.15
22
------------------------------
33

44
* The import system:
@@ -63,7 +63,7 @@ Pending Removal in Python 3.15
6363

6464
* The undocumented keyword argument syntax for creating
6565
:class:`~typing.NamedTuple` classes
66-
(e.g. ``Point = NamedTuple("Point", x=int, y=int)``)
66+
(for example, ``Point = NamedTuple("Point", x=int, y=int)``)
6767
has been deprecated since Python 3.13.
6868
Use the class-based syntax or the functional syntax instead.
6969

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

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
1-
Pending Removal in Python 3.16
1+
Pending removal in Python 3.16
22
------------------------------
33

4-
* :mod:`builtins`:
5-
6-
* Bitwise inversion on boolean types, ``~True`` or ``~False``
7-
has been deprecated since Python 3.12,
8-
as it produces surprising and unintuitive results (``-2`` and ``-1``).
9-
Use ``not x`` instead for the logical negation of a Boolean.
10-
In the rare case that you need the bitwise inversion of
11-
the underlying integer, convert to ``int`` explicitly (``~int(x)``).
12-
134
* :mod:`array`:
145

156
* The ``'u'`` format code (:c:type:`wchar_t`)
@@ -20,11 +11,19 @@ Pending Removal in Python 3.16
2011

2112
* :mod:`asyncio`:
2213

23-
* :mod:`asyncio`:
24-
:func:`!asyncio.iscoroutinefunction` is deprecated
25-
and will be removed in Python 3.16,
26-
use :func:`inspect.iscoroutinefunction` instead.
27-
(Contributed by Jiahao Li and Kumar Aditya in :gh:`122875`.)
14+
* :func:`!asyncio.iscoroutinefunction` is deprecated
15+
and will be removed in Python 3.16,
16+
use :func:`inspect.iscoroutinefunction` instead.
17+
(Contributed by Jiahao Li and Kumar Aditya in :gh:`122875`.)
18+
19+
* :mod:`builtins`:
20+
21+
* Bitwise inversion on boolean types, ``~True`` or ``~False``
22+
has been deprecated since Python 3.12,
23+
as it produces surprising and unintuitive results (``-2`` and ``-1``).
24+
Use ``not x`` instead for the logical negation of a Boolean.
25+
In the rare case that you need the bitwise inversion of
26+
the underlying integer, convert to ``int`` explicitly (``~int(x)``).
2827

2928
* :mod:`shutil`:
3029

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Pending Removal in Future Versions
1+
Pending removal in future versions
22
----------------------------------
33

44
The following APIs will be removed in the future,

Doc/whatsnew/3.14.rst

Lines changed: 56 additions & 54 deletions

0 commit comments

Comments
 (0)