Skip to content
Open
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
Prev Previous commit
Next Next commit
Fix quoting style; when quoting a whole sentence one should keep the …
…capitalisation
  • Loading branch information
jb2170 committed May 22, 2025
commit e49ebdf5194fc90ddf11d380fb777e26d42ae719
2 changes: 1 addition & 1 deletion peps/pep-0786.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This PEP proposes implementing the standard format specifiers ``.`` and ``z`` of

``z`` ("modulo-precision") shall be permitted as an optional "modulo" flag when formatting an integer with precision and one of the binary, octal, or hexadecimal presentation types (bases that are powers of two). This first reduces the integer into ``range(base ** precision)`` using the ``%`` operator. The result is a predictable two's complement style formatting with the *exact* number of digits equal to the precision.

This PEP amends the clause of :pep:`3101` which states "[t]he precision is ignored for integer conversions".
This PEP amends the clause of :pep:`3101` which states "The precision is ignored for integer conversions".


Rationale
Expand Down