commit | a5770aa9ca344a038fee4f13b5f1334d5bec98c9 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Mon Feb 07 12:10:46 2011 +0000 |
committer | Georg Brandl <georg@python.org> | Mon Feb 07 12:10:46 2011 +0000 |
tree | abe9e720166a34caae4c7d4ff54568c797bb4317 | |
parent | 7ac3419a6c6fce7ac935e7afbdbc8621ea0b756b [diff] |
#11138: fix order of fill and align specifiers.
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 @@ 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^^^^^'