commit | 4fbad84cb6e080f2374f4f19d8ed6bc154de04be | [log] [tgz] |
---|---|---|
author | Sandro Tosi <sandro.tosi@gmail.com> | Sat Dec 24 15:52:36 2011 +0100 |
committer | Sandro Tosi <sandro.tosi@gmail.com> | Sat Dec 24 15:52:36 2011 +0100 |
tree | c587926bbc8260985706bda0db1214c12711aa09 | |
parent | 55ae12b019998ba1dcacfa20f5cc37f7fe9c6b67 [diff] [blame] |
remove spurious dot from string formatting example; thanks to Anthon van der Neut from docs@
diff --git a/Doc/library/string.rst b/Doc/library/string.rst index 67547ad..4c3abcd 100644 --- a/Doc/library/string.rst +++ b/Doc/library/string.rst
@@ -602,7 +602,7 @@ >>> points = 19.5 >>> total = 22 - >>> 'Correct answers: {:.2%}.'.format(points/total) + >>> 'Correct answers: {:.2%}'.format(points/total) 'Correct answers: 88.64%' Using type-specific formatting::