]> granicus.if.org Git - python/commitdiff
correctly define what 'fill' could be; thanks to Leland Hulbert from docs@
authorSandro Tosi <sandro.tosi@gmail.com>
Sat, 12 May 2012 21:29:32 +0000 (23:29 +0200)
committerSandro Tosi <sandro.tosi@gmail.com>
Sat, 12 May 2012 21:29:32 +0000 (23:29 +0200)
Doc/library/string.rst

index 1f8e2304f01f1bebaafd70c3d3c3f05f8fa4a49c..fc0bd2449b1a2e623be0a0e311971f73d3c86ded 100644 (file)
@@ -292,7 +292,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`