mirror of https://github.com/python/cpython
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' ........
This commit is contained in:
parent
69e25fa5b8
commit
d240071cd8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue