Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
whatsnew: "z" option in format spec
  • Loading branch information
belm0 authored Jun 8, 2022
commit c3653055ce5631992627ac067dc73fbcc19fbf14
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:`30049`.)

Other CPython Implementation Changes
====================================
Expand Down