[Python-3000] str.format() -- poss. code or doc bug?
Facundo Batista
facundobatista at gmail.com
Fri Nov 30 15:02:40 CET 2007
2007/11/30, Mark Summerfield <mark at qtrac.eu>:
> BTW I notice that decimal.Decimal() numbers can't be used with the 'e',
> 'f', or 'g' formats. I know that these numbers aren't floating-point
> under the hood, but this still seems a bit counter-intuitive to me.
Adding __format__ to the Decimal data type is on my queue of pendings...
Regards,
--
. Facundo
Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
More information about the Python-3000
mailing list