This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients Decorater, eric.smith, gvanrossum, martin.panter, serhiy.storchaka, yselivanov
Date 2016-11-29.01:24:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1480382664.42.0.477669949614.issue28827@psf.upfronthosting.co.za>
In-reply-to
Content
Specifically, see: https://www.python.org/dev/peps/pep-0498/#format-specifiers

str.format() also works this way:
>>> '{0:02{1}}'.format(10, an_x)
'0A'
History
Date User Action Args
2016-11-29 01:24:24eric.smithsetrecipients: + eric.smith, gvanrossum, martin.panter, serhiy.storchaka, yselivanov, Decorater
2016-11-29 01:24:24eric.smithsetmessageid: <1480382664.42.0.477669949614.issue28827@psf.upfronthosting.co.za>
2016-11-29 01:24:24eric.smithlinkissue28827 messages
2016-11-29 01:24:22eric.smithcreate