Fix some markup.

This commit is contained in:
Eric V. Smith 2015-08-20 21:18:50 -04:00
parent 14c0910963
commit 71c8591e16
1 changed files with 3 additions and 3 deletions

View File

@ -373,7 +373,7 @@ Leading and trailing whitespace in expressions is skipped
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 @@ This would be evaluated as::
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 @@ Future extensions:
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}'