Skip to content

Commit 010284b

Browse files
authored
gh-90153: whatsnew: "z" option in format spec (GH-93624)
Add what's new entry for PEP 682 in Python 3.11.
1 parent f0b7aa7 commit 010284b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/whatsnew/3.11.rst

+3
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,9 @@ Other Language Changes
373373
the current directory, the script's directory or an empty string.
374374
(Contributed by Victor Stinner in :gh:`57684`.)
375375

376+
* A ``"z"`` option was added to the format specification mini-language that
377+
coerces negative zero to zero after rounding to the format precision. See
378+
:pep:`682` for more details. (Contributed by John Belmonte in :gh:`90153`.)
376379

377380
Other CPython Implementation Changes
378381
====================================

0 commit comments

Comments
 (0)