From c3653055ce5631992627ac067dc73fbcc19fbf14 Mon Sep 17 00:00:00 2001 From: John Belmonte Date: Thu, 9 Jun 2022 08:56:58 +0900 Subject: [PATCH 1/2] whatsnew: "z" option in format spec --- Doc/whatsnew/3.11.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 75eb0f567280a2..0702aba6f71e7b 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:`30049`.) Other CPython Implementation Changes ==================================== From f8b6a1210d818605348022fcc9dcbb1f007a03b4 Mon Sep 17 00:00:00 2001 From: John Belmonte Date: Thu, 9 Jun 2022 09:13:05 +0900 Subject: [PATCH 2/2] fix github reference --- Doc/whatsnew/3.11.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 0702aba6f71e7b..8075a726f61f34 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -375,7 +375,7 @@ Other Language Changes * 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:`30049`.) + :pep:`682` for more details. (Contributed by John Belmonte in :gh:`90153`.) Other CPython Implementation Changes ====================================