PEP 682: Fix pre-commit issue with backticks (#2316)

This commit is contained in:
Victor Stinner 2022-02-08 18:43:30 +01:00 committed by GitHub
parent 6d66078352
commit 1ef98b333a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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