[docs] [issue15660] Clarify 0 prefix for width specifier in str.format doc,

Terry J. Reedy report at bugs.python.org
Sun Mar 20 21:03:04 EDT 2016


Terry J. Reedy added the comment:

You example says to left justify '1'
>>> format(1, '<2')
'1 '
and then pad with '0' instead of ' '.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15660>
_______________________________________


More information about the docs mailing list