summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2011-12-24 14:53:51 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2011-12-24 14:53:51 (GMT)
commit35927dea458ca5020cac107d6dc0335b137e51e0 (patch)
tree6479c42715a4a95ca4d60d8e2a90ae4e2fb6ebcf
parentd126af8a54b08388c5cbc96cf26d7bc611d9f567 (diff)
parentbaf30da2402d7eeb710fc26f0e013cb2de632225 (diff)
downloadcpython-35927dea458ca5020cac107d6dc0335b137e51e0.zip
cpython-35927dea458ca5020cac107d6dc0335b137e51e0.tar.gz
cpython-35927dea458ca5020cac107d6dc0335b137e51e0.tar.bz2
merge with 3.2
-rw-r--r--Doc/library/string.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/string.rst b/Doc/library/string.rst
index 56a2a34..1f8e230 100644
--- a/Doc/library/string.rst
+++ b/Doc/library/string.rst
@@ -583,7 +583,7 @@ Expressing a percentage::
>>> points = 19
>>> total = 22
- >>> 'Correct answers: {:.2%}.'.format(points/total)
+ >>> 'Correct answers: {:.2%}'.format(points/total)
'Correct answers: 86.36%'
Using type-specific formatting::