Author Urago.Keisuke
Recipients Urago.Keisuke, docs@python
Date 2011-02-07.04:41:27
SpamBayes Score 0.00473621
Marked as misclassified No
Message-id <1297053687.75.0.437678029921.issue11138@psf.upfronthosting.co.za>
In-reply-to
Content
"Nesting arguments and more complex examples"
at http://docs.python.org/library/string.html#format-examples

Below example code is no errors:
>>> for align, text in zip('<^>', ['left', 'center', 'right']):
...     '{0:{align}{fill}16}'.format(text, fill=align, align=align)

I think meaning is as follows:
...     '{0:{fill}{align}16}'.format(text, fill=align, align=align)
History
Date User Action Args
2011-02-07 04:41:27Urago.Keisukesetrecipients: + Urago.Keisuke, docs@python
2011-02-07 04:41:27Urago.Keisukesetmessageid: <1297053687.75.0.437678029921.issue11138@psf.upfronthosting.co.za>
2011-02-07 04:41:27Urago.Keisukelinkissue11138 messages
2011-02-07 04:41:27Urago.Keisukecreate