[Python-checkins] r81824 - python/trunk/Objects/stringlib/formatter.h

benjamin.peterson python-checkins at python.org
Tue Jun 8 00:32:45 CEST 2010


Author: benjamin.peterson
Date: Tue Jun  8 00:32:44 2010
New Revision: 81824

Log:
remove extra byte and fix comment

Modified:
   python/trunk/Objects/stringlib/formatter.h

Modified: python/trunk/Objects/stringlib/formatter.h
==============================================================================
--- python/trunk/Objects/stringlib/formatter.h	(original)
+++ python/trunk/Objects/stringlib/formatter.h	Tue Jun  8 00:32:44 2010
@@ -649,8 +649,8 @@
     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:


More information about the Python-checkins mailing list