summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2012-05-12 21:29:06 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2012-05-12 21:29:06 (GMT)
commit334be84540bb1c0493cdb6c51de5580b66333bdc (patch)
tree3f5b546204ab3d4c3bbc278e41f07c2d0007bd22
parent56f5c38320f25f17b777a4202f6189ec27557783 (diff)
downloadcpython-334be84540bb1c0493cdb6c51de5580b66333bdc.zip
cpython-334be84540bb1c0493cdb6c51de5580b66333bdc.tar.gz
cpython-334be84540bb1c0493cdb6c51de5580b66333bdc.tar.bz2
correctly define what 'fill' could be; thanks to Leland Hulbert from docs@
-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 77f1e8e..ee6dbbc 100644
--- a/Doc/library/string.rst
+++ b/Doc/library/string.rst
@@ -322,7 +322,7 @@ The general form of a *standard format specifier* is:
.. productionlist:: sf
format_spec: [[`fill`]`align`][`sign`][#][0][`width`][,][.`precision`][`type`]
- fill: <a character other than '}'>
+ fill: <a character other than '{' or '}'>
align: "<" | ">" | "=" | "^"
sign: "+" | "-" | " "
width: `integer`