aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/locale.py')
-rw-r--r--Lib/locale.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/locale.py b/Lib/locale.py
index f88803c5f3f..dd7df1e743b 100644
--- a/Lib/locale.py
+++ b/Lib/locale.py
@@ -93,7 +93,7 @@ except ImportError:
def _group(s):
conv=localeconv()
grouping=conv['grouping']
- if not grouping:return s
+ if not grouping:return (s, 0)
result=""
seps = 0
spaces = ""