[Python-checkins] r81826 - in python/branches/py3k: Objects/stringlib/formatter.h

benjamin.peterson python-checkins at python.org
Tue Jun 8 00:35:08 CEST 2010


Author: benjamin.peterson
Date: Tue Jun  8 00:35:08 2010
New Revision: 81826

Log:
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
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Objects/stringlib/formatter.h

Modified: python/branches/py3k/Objects/stringlib/formatter.h
==============================================================================
--- python/branches/py3k/Objects/stringlib/formatter.h	(original)
+++ python/branches/py3k/Objects/stringlib/formatter.h	Tue Jun  8 00:35:08 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