summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2011-10-31 15:03:34 (GMT)
committerJesus Cea <jcea@jcea.es>2011-10-31 15:03:34 (GMT)
commit5032292f9e4aa87f61532fbefeff9e300bf120ac (patch)
tree2fb5e80f0434f2c030927a2f4e98fd37dfe49487
parente348455f5f3f177f7c3f656a0204d9a89b27e5c8 (diff)
downloadcpython-5032292f9e4aa87f61532fbefeff9e300bf120ac.zip
cpython-5032292f9e4aa87f61532fbefeff9e300bf120ac.tar.gz
cpython-5032292f9e4aa87f61532fbefeff9e300bf120ac.tar.bz2
Closes #13283: removal of two unused variable in locale.py
-rw-r--r--Lib/locale.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/locale.py b/Lib/locale.py
index 0f6fe53..3dc4caf 100644
--- a/Lib/locale.py
+++ b/Lib/locale.py
@@ -142,8 +142,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):]