[Python-3000] Format specifier proposal
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu Aug 16 03:08:54 CEST 2007
Ron Adam wrote:
> What I was thinking of was just a simple left to right evaluation order.
>
> "{0:spec1, spec2, ... }".format(x)
That would work too, as long as you were willing to
forbid "," as a possible character in a type-specific
format string.
--
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | Carpe post meridiem! |
Christchurch, New Zealand | (I'm not a morning person.) |
greg.ewing at canterbury.ac.nz +--------------------------------------+
More information about the Python-3000
mailing list