]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-90153: whatsnew: "z" option in format spec (GH-93624)
authorJohn Belmonte <john@neggie.net>
Sat, 11 Jun 2022 09:58:49 +0000 (18:58 +0900)
committerGitHub <noreply@github.com>
Sat, 11 Jun 2022 09:58:49 +0000 (10:58 +0100)
Add what's new entry for PEP 682 in Python 3.11.

Doc/whatsnew/3.11.rst

index 75eb0f567280a2263deae0ffbba5027fe36620b6..8075a726f61f34c1febd7ad0441d9fb7e1a46044 100644 (file)
@@ -373,6 +373,9 @@ Other Language Changes
   the current directory, the script's directory or an empty string.
   (Contributed by Victor Stinner in :gh:`57684`.)
 
+* A ``"z"`` option was added to the format specification mini-language that
+  coerces negative zero to zero after rounding to the format precision.  See
+  :pep:`682` for more details.  (Contributed by John Belmonte in :gh:`90153`.)
 
 Other CPython Implementation Changes
 ====================================