Update list of supported types.

This commit is contained in:
Raymond Hettinger 2009-04-17 10:09:27 +00:00
parent fee346b5c4
commit c548b6e724

View file

@ -93,8 +93,8 @@ program's output, improving its professional appearance and readability::
>>> format(Decimal('1234567.89'), ',f') >>> format(Decimal('1234567.89'), ',f')
'1,234,567.89' '1,234,567.89'
The currently supported types are :class:`int` and :class:`decimal.Decimal`. The supported types are :class:`int`, :class:`float` and :class:`decimal.Decimal`.
Support for :class:`float` is expected before the beta release.
Discussions are underway about how to specify alternative separators Discussions are underway about how to specify alternative separators
like dots, spaces, apostrophes, or underscores. Locale-aware applications like dots, spaces, apostrophes, or underscores. Locale-aware applications
should use the existing *n* format specifier which already has some support should use the existing *n* format specifier which already has some support