PEP 682: Fix pre-commit issue with backticks (#2316)
This commit is contained in:
parent
6d66078352
commit
1ef98b333a
|
@ -14,7 +14,7 @@ Post-History:
|
|||
Abstract
|
||||
========
|
||||
|
||||
Though ``float`` and ``Decimal`` types can represent `signed zero`_, in many
|
||||
Though ``float`` and ``Decimal`` types can represent `signed zero`_, in many
|
||||
fields of mathematics negative zero is surprising or unwanted -- especially
|
||||
in the context of displaying an (often rounded) numerical result. This PEP
|
||||
proposes an extension to the `string format specification`_ allowing negative
|
||||
|
@ -182,7 +182,7 @@ How to Teach This
|
|||
A typical introductory Python course will not cover string formatting
|
||||
in full detail. For such a course, no adjustments would need to be made.
|
||||
For a course that does go into details of the string format specification,
|
||||
a single example demonstrating the effect of the `z` option on a negative
|
||||
a single example demonstrating the effect of the ``z`` option on a negative
|
||||
value that's rounded to zero by the formatting should be enough. For an
|
||||
independent developer encountering the feature in someone else's code,
|
||||
reference to the `Format Specification Mini-Language`_ section of the
|
||||
|
|
Loading…
Reference in New Issue