From 3746d0a7b388e08b49be4064f081fa502fe52443 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Wed, 20 Nov 2024 11:35:24 +0200 Subject: [PATCH] gh-123299: Copyedit "What's New in Python 3.14" (#127028) --- Doc/whatsnew/3.14.rst | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index 3eabf22e499..53b22094e8a 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -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() `. (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 ```` numbers from/to Python :class:`int`: