diff options
| author | Georg Brandl <georg@python.org> | 2011-02-07 12:10:46 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2011-02-07 12:10:46 +0000 |
| commit | a5770aa9ca344a038fee4f13b5f1334d5bec98c9 (patch) | |
| tree | abe9e720166a34caae4c7d4ff54568c797bb4317 /Doc/library/string.rst | |
| parent | 7ac3419a6c6fce7ac935e7afbdbc8621ea0b756b (diff) | |
| download | cpython-git-a5770aa9ca344a038fee4f13b5f1334d5bec98c9.tar.gz | |
#11138: fix order of fill and align specifiers.
Diffstat (limited to 'Doc/library/string.rst')
| -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 0b4ded7fab..4b6a6747a4 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^^^^^' |
