]> granicus.if.org Git - python/commitdiff
Merged revisions 81824 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Mon, 7 Jun 2010 22:35:08 +0000 (22:35 +0000)
committerBenjamin Peterson <benjamin@python.org>
Mon, 7 Jun 2010 22:35:08 +0000 (22:35 +0000)
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
........

Objects/stringlib/formatter.h

index 5b7b3dcf081f9b9a2a0695987ba8f437287141a8..7b29a9de3a92c81faddc468d998323d85bc9c92e 100644 (file)
@@ -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: