Issue1180296
Created on 2005年04月10日 18:00 by georg.brandl, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files |
| File name |
Uploaded |
Description |
Edit |
|
locale-diff.patch
|
georg.brandl,
2005年04月10日 18:00
|
first version of patch |
| Messages (2) |
|
msg48187 - (view) |
Author: Georg Brandl (georg.brandl) * (Python committer) |
Date: 2005年04月10日 18:00 |
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.
|
|
msg48188 - (view) |
Author: Georg Brandl (georg.brandl) * (Python committer) |
Date: 2006年05月17日 15:51 |
Logged In: YES
user_id=849994
Slightly revised version committed as rev. 46030.
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2022年04月11日 14:56:10 | admin | set | github: 41841 |
| 2005年04月10日 18:00:04 | georg.brandl | create |