diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-06-07 21:41:35 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-06-07 21:41:35 (GMT) |
commit | d240071cd89f8ca08d4d1e05324b28a6d2f34d58 (patch) | |
tree | 9c95292cf67e767f23645e0036a759d827270544 /Objects/stringlib | |
parent | 69e25fa5b8ac78ff0bab263a03e7d2f67731c87f (diff) | |
download | cpython-d240071cd89f8ca08d4d1e05324b28a6d2f34d58.zip cpython-d240071cd89f8ca08d4d1e05324b28a6d2f34d58.tar.gz cpython-d240071cd89f8ca08d4d1e05324b28a6d2f34d58.tar.bz2 |
Merged revisions 81813 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81813 | benjamin.peterson | 2010-06-07 16:37:09 -0500 (Mon, 07 Jun 2010) | 2 lines
locale grouping strings should end in '\0'
........
Diffstat (limited to 'Objects/stringlib')
-rw-r--r-- | Objects/stringlib/formatter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringlib/formatter.h b/Objects/stringlib/formatter.h index a807b97..5b7b3dc 100644 --- a/Objects/stringlib/formatter.h +++ b/Objects/stringlib/formatter.h @@ -649,7 +649,7 @@ get_locale_info(int type, LocaleInfo *locale_info) case LT_DEFAULT_LOCALE: locale_info->decimal_point = "."; locale_info->thousands_sep = ","; - locale_info->grouping = "\3"; /* Group every 3 characters, + locale_info->grouping = "\3\0"; /* Group every 3 characters, trailing 0 means repeat infinitely. */ break; |