[Python-checkins] peps: Fix some markup.
eric.smith
python-checkins at python.org
Fri Aug 21 03:18:49 CEST 2015
https://hg.python.org/peps/rev/d317f0245d6f
changeset: 5963:d317f0245d6f
user: Eric V. Smith <eric at trueblade.com>
date: Thu Aug 20 21:18:50 2015 -0400
summary:
Fix some markup.
files:
pep-0498.txt | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pep-0498.txt b/pep-0498.txt
--- a/pep-0498.txt
+++ b/pep-0498.txt
@@ -373,7 +373,7 @@
For ease of readability, leading and trailing whitespace in
expressions is ignored. However, this does not affect the string or
-keys passed to str.interpolate().
+keys passed to str.interpolate()::
>>> x = 100
>>> f'x = { x }'
@@ -386,7 +386,7 @@
Discussion
==========
-Most of the discussions on python-ideas [#]_ focused on a few issues:
+Most of the discussions on python-ideas [#]_ focused on a few issues.
- Whether to allow full Python expressions.
- How to designate f-strings, and how to specify the location of
@@ -505,7 +505,7 @@
XXX: By using another leading character (say, 'i'), we could extend
this proposal to cover internationalization and localization. The idea
is that the string would be passed to some lookup function before
-.interpolate() is called on it:
+.interpolate() is called on it::
>>> name = 'Eric'
>>> fi'Name: {name}'
--
Repository URL: https://hg.python.org/peps
More information about the Python-checkins
mailing list