mirror of
https://github.com/python/cpython.git
synced 2025-11-26 21:33:10 +00:00
svnmerge from trunk for r70457 (sorry, I accidentally deleted the commit message)
This commit is contained in:
parent
bd7926478d
commit
6cf17aacbf
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue