summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-06-07 22:35:08 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-06-07 22:35:08 (GMT)
commit504b6e81153ceca547e27850a6269afef6a7934f (patch)
tree1b1ca28a797cc851ba83e4bccc2ad889b75b482a
parent59a1b2f732e9c672ec03deb965bd682706d1ef24 (diff)
downloadcpython-504b6e81153ceca547e27850a6269afef6a7934f.zip
cpython-504b6e81153ceca547e27850a6269afef6a7934f.tar.gz
cpython-504b6e81153ceca547e27850a6269afef6a7934f.tar.bz2
Merged revisions 81824 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81824 | benjamin.peterson | 2010-06-07 17:32:44 -0500 (Mon, 07 Jun 2010) | 1 line remove extra byte and fix comment ........
-rw-r--r--Objects/stringlib/formatter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/stringlib/formatter.h b/Objects/stringlib/formatter.h
index 5b7b3dc..7b29a9d 100644
--- a/Objects/stringlib/formatter.h
+++ b/Objects/stringlib/formatter.h
@@ -649,8 +649,8 @@ get_locale_info(int type, LocaleInfo *locale_info)
case LT_DEFAULT_LOCALE:
locale_info->decimal_point = ".";
locale_info->thousands_sep = ",";
- locale_info->grouping = "\3\0"; /* Group every 3 characters,
- trailing 0 means repeat
+ locale_info->grouping = "\3"; /* Group every 3 characters. The
+ (implicit) trailing 0 means repeat
infinitely. */
break;
case LT_NO_LOCALE: