Commit 6cf17aac authored by Antoine Pitrou's avatar Antoine Pitrou

svnmerge from trunk for r70457 (sorry, I accidentally deleted the commit message)

parent bd792647
...@@ -158,7 +158,7 @@ def _group(s, monetary=False): ...@@ -158,7 +158,7 @@ def _group(s, monetary=False):
groups.reverse() groups.reverse()
return ( return (
left_spaces + thousands_sep.join(groups) + right_spaces, 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 # Strip a given amount of excess padding from the given string
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment