summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-03-21 17:19:29 (GMT)
committerGeorg Brandl <georg@python.org>2008-03-21 17:19:29 (GMT)
commit859043c0538d9023515cac6900fe99f1edad0b75 (patch)
treeabefc35cfe8b6d212baf162ef1854eba5a0f77e1
parent9c6c47bf4b37f0bd17d00c624ac955157768f72a (diff)
downloadcpython-859043c0538d9023515cac6900fe99f1edad0b75.zip
cpython-859043c0538d9023515cac6900fe99f1edad0b75.tar.gz
cpython-859043c0538d9023515cac6900fe99f1edad0b75.tar.bz2
Fix markup.
-rw-r--r--Doc/whatsnew/2.6.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
index 3378fc8..0e8901b 100644
--- a/Doc/whatsnew/2.6.rst
+++ b/Doc/whatsnew/2.6.rst
@@ -540,7 +540,7 @@ complicated expressions inside a format string.
So far we've shown how to specify which field to substitute into the
resulting string. The precise formatting used is also controllable by
-adding a colon followed by a format specifier. For example:
+adding a colon followed by a format specifier. For example::
# Field 0: left justify, pad to 15 characters
# Field 1: right justify, pad to 6 characters
@@ -552,7 +552,7 @@ adding a colon followed by a format specifier. For example:
fmt.format('Banquet', 125) ->
'Banquet $ 125'
-Format specifiers can reference other fields through nesting:
+Format specifiers can reference other fields through nesting::
fmt = '{0:{1}}'
fmt.format('Invoice #1234', width) ->