[Python-checkins] r70461 - in python/branches/py3k: Lib/locale.py

antoine.pitrou python-checkins at python.org
Wed Mar 18 21:26:42 CET 2009


Author: antoine.pitrou
Date: Wed Mar 18 21:26:42 2009
New Revision: 70461
Log:
svnmerge from trunk for r70457 (sorry, I accidentally deleted the commit message)
Modified:
 python/branches/py3k/ (props changed)
 python/branches/py3k/Lib/locale.py
Modified: python/branches/py3k/Lib/locale.py
==============================================================================
--- python/branches/py3k/Lib/locale.py	(original)
+++ python/branches/py3k/Lib/locale.py	Wed Mar 18 21:26:42 2009
@@ -158,7 +158,7 @@
 groups.reverse()
 return (
 left_spaces + thousands_sep.join(groups) + right_spaces,
- len(groups) - 1
+ len(thousands_sep) * (len(groups) - 1)
 )
 
 # Strip a given amount of excess padding from the given string


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /