Skip to content

Commit

Permalink
pythongh-90153: whatsnew: "z" option in format spec (pythonGH-93624)
Browse files Browse the repository at this point in the history
Add what's new entry for PEP 682 in Python 3.11.
  • Loading branch information
belm0 authored Jun 11, 2022
1 parent f0b7aa7 commit 010284b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Doc/whatsnew/3.11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
====================================
Expand Down

0 comments on commit 010284b

Please sign in to comment.