homepage

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 py.user
Recipients docs@python, eric.smith, ezio.melotti, py.user, python-dev, terry.reedy
Date 2016年03月22日.14:50:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458658216.46.0.659727296093.issue15660@psf.upfronthosting.co.za>
In-reply-to
Content
Terry J. Reedy (terry.reedy) wrote:
> You example says to left justify '1'
Nope.
The fill character goes before alignment in the specification (grammatics).
>>> format(1, '0<2')
'10'
>>>
This is right. But 02 - is zero padding of a number which can be done only from the left side.
'<02' means "justify to the left zero padded number"
History
Date User Action Args
2016年03月22日 14:50:16py.usersetrecipients: + py.user, terry.reedy, eric.smith, ezio.melotti, docs@python, python-dev
2016年03月22日 14:50:16py.usersetmessageid: <1458658216.46.0.659727296093.issue15660@psf.upfronthosting.co.za>
2016年03月22日 14:50:16py.userlinkissue15660 messages
2016年03月22日 14:50:16py.usercreate

AltStyle によって変換されたページ (->オリジナル) /