mirror of https://github.com/python/cpython
svnmerge from trunk for r70457 (sorry, I accidentally deleted the commit message)
This commit is contained in:
parent
bd7926478d
commit
6cf17aacbf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue