Ron Adam wrote:
> {0:d,10+20} # Field width are just string operations done after
> # formatting is done.
>
> {0:d10+20} # Numeric widths, differ from field widths.
> # They are specific to the type so can handle special
> # cases.
Still not good - if you confuse two very similar and easily
confusable things, your numbers get chopped off.
I'm with Guido on this one: only strings should have
a max width, and it should be part of the string format
spec, so you can't accidentally apply it to numbers.
--
Greg
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com