diff options
author | Georg Brandl <georg@python.org> | 2011-02-07 12:10:46 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-02-07 12:10:46 (GMT) |
commit | a5770aa9ca344a038fee4f13b5f1334d5bec98c9 (patch) | |
tree | abe9e720166a34caae4c7d4ff54568c797bb4317 /Doc | |
parent | 7ac3419a6c6fce7ac935e7afbdbc8621ea0b756b (diff) | |
download | cpython-a5770aa9ca344a038fee4f13b5f1334d5bec98c9.zip cpython-a5770aa9ca344a038fee4f13b5f1334d5bec98c9.tar.gz cpython-a5770aa9ca344a038fee4f13b5f1334d5bec98c9.tar.bz2 |
#11138: fix order of fill and align specifiers.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/string.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/string.rst b/Doc/library/string.rst index 0b4ded7..4b6a674 100644 --- a/Doc/library/string.rst +++ b/Doc/library/string.rst @@ -595,7 +595,7 @@ Using type-specific formatting:: Nesting arguments and more complex examples:: >>> for align, text in zip('<^>', ['left', 'center', 'right']): - ... '{0:{align}{fill}16}'.format(text, fill=align, align=align) + ... '{0:{fill}{align}16}'.format(text, fill=align, align=align) ... 'left<<<<<<<<<<<<' '^^^^^center^^^^^' |