#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^^^^^'