gh-123299: Copyedit "What's New in Python 3.14" (#127028)

This commit is contained in:
Hugo van Kemenade 2024-11-20 11:35:24 +02:00 committed by GitHub
parent 9bca3ef575
commit 3746d0a7b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -228,7 +228,7 @@ argparse
* Introduced the optional *suggest_on_error* parameter to
:class:`argparse.ArgumentParser`, enabling suggestions for argument choices
and subparser names if mistyped by the user.
(Contributed by Savannah Ostrowski in :gh:`124456`)
(Contributed by Savannah Ostrowski in :gh:`124456`.)
ast
---
@ -273,6 +273,12 @@ ctypes
to help match a non-default ABI.
(Contributed by Petr Viktorin in :gh:`97702`.)
datetime
--------
* Add :meth:`datetime.time.strptime` and :meth:`datetime.date.strptime`.
(Contributed by Wannes Boeykens in :gh:`41431`.)
decimal
-------
@ -280,12 +286,6 @@ decimal
:meth:`Decimal.from_number() <decimal.Decimal.from_number>`.
(Contributed by Serhiy Storchaka in :gh:`121798`.)
datetime
--------
* Add :meth:`datetime.time.strptime` and :meth:`datetime.date.strptime`.
(Contributed by Wannes Boeykens in :gh:`41431`.)
dis
---
@ -425,7 +425,7 @@ multiprocessing
* :meth:`~dict.fromkeys`, ``reversed(d)``, ``d | {}``, ``{} | d``,
``d |= {'b': 2}`` for proxies of :class:`dict`.
(Contributed by Roy Hyunjin Han for :gh:`103134`)
(Contributed by Roy Hyunjin Han for :gh:`103134`.)
operator
@ -468,14 +468,6 @@ pathlib
(Contributed by Barney Gale in :gh:`125413`.)
platform
--------
* Add :func:`platform.invalidate_caches` to invalidate the cached results.
(Contributed by Bénédikt Tran in :gh:`122549`.)
pdb
---
@ -490,6 +482,14 @@ pdb
command when :mod:`pdb` is in ``inline`` mode.
(Contributed by Tian Gao in :gh:`123757`.)
platform
--------
* Add :func:`platform.invalidate_caches` to invalidate the cached results.
(Contributed by Bénédikt Tran in :gh:`122549`.)
pickle
------
@ -864,7 +864,7 @@ New features
* Add :c:func:`PyLong_IsPositive`, :c:func:`PyLong_IsNegative`
and :c:func:`PyLong_IsZero` for checking if :c:type:`PyLongObject`
is positive, negative, or zero, respectively.
(Contribued by James Roy and Sergey B Kirpichev in :gh:`126061`.)
(Contributed by James Roy and Sergey B Kirpichev in :gh:`126061`.)
* Add new functions to convert C ``<stdint.h>`` numbers from/to Python
:class:`int`: