diff options
author | John Belmonte <john@neggie.net> | 2022-06-11 09:58:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-11 09:58:49 (GMT) |
commit | 010284b46b604bb07a99775a2e51475b720da030 (patch) | |
tree | 2a69b3292b4ac8561a877beb2ea6f85de8e77714 | |
parent | f0b7aa71c4a1330294c14b0c6f02e6c43e09c317 (diff) | |
download | cpython-010284b46b604bb07a99775a2e51475b720da030.zip cpython-010284b46b604bb07a99775a2e51475b720da030.tar.gz cpython-010284b46b604bb07a99775a2e51475b720da030.tar.bz2 |
gh-90153: whatsnew: "z" option in format spec (GH-93624)
Add what's new entry for PEP 682 in Python 3.11.
-rw-r--r-- | Doc/whatsnew/3.11.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 75eb0f5..8075a72 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -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 ==================================== |