mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Merged revisions 70461 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r70461 | antoine.pitrou | 2009-03-18 21:26:42 +0100 (mer., 18 mars 2009) | 3 lines svnmerge from trunk for r70457 (sorry, I accidentally deleted the commit message) ........
This commit is contained in:
@@ -158,7 +158,7 @@ def _group(s, monetary=False):
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user