homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author georg.brandl
Recipients
Date 2005年04月10日.18:00:04
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This is a patch that adds two new functions to the
locale module.
The first, format_string(), can be used like str %
values, but takes the locale into account.
format() cannot be used for this since its grouping
feature currently does not work for arbitrary format
strings.
At the same time, this patch enhances format() so that
the user is notified by an exception that she should
only give one '%char' specification and nothing else.
The docs are also corrected.
The second function, currency(), formats a number
according to current currency locale settings.
The patch is complete with doc and test changes.
Please, test and comment!
Also corrects minor mistakes in doc.
History
Date User Action Args
2007年08月23日 15:42:40adminlinkissue1180296 messages
2007年08月23日 15:42:40admincreate

AltStyle によって変換されたページ (->オリジナル) /