diff --git a/Lib/locale.py b/Lib/locale.py index 0c4d6527e90..ae667a898b8 100644 --- a/Lib/locale.py +++ b/Lib/locale.py @@ -135,8 +135,6 @@ def _group(s, monetary=False): grouping = conv[monetary and 'mon_grouping' or 'grouping'] if not grouping: return (s, 0) - result = "" - seps = 0 if s[-1] == ' ': stripped = s.rstrip() right_spaces = s[len(stripped):]