summaryrefslogtreecommitdiffstats
path: root/Modules/_localemodule.c
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-09-17 07:59:14 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-09-17 07:59:14 (GMT)
commitd508d00919dccbc9dd5d3c86508f2db7a7c753a7 (patch)
tree141cdfbf0908146bab12636e5b270e59ea06b3a5 /Modules/_localemodule.c
parentabf275af5804c5f76fbe10c5cb1dd3d2e4b04c5b (diff)
parent6d57fe1c23430d0d51de243a177670b76c37dab5 (diff)
downloadcpython-d508d00919dccbc9dd5d3c86508f2db7a7c753a7.zip
cpython-d508d00919dccbc9dd5d3c86508f2db7a7c753a7.tar.gz
cpython-d508d00919dccbc9dd5d3c86508f2db7a7c753a7.tar.bz2
Issue #28139: Merge indentation fixes from 3.5 into 3.6
Diffstat (limited to 'Modules/_localemodule.c')
-rw-r--r--Modules/_localemodule.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/_localemodule.c b/Modules/_localemodule.c
index 8259180..feb3802 100644
--- a/Modules/_localemodule.c
+++ b/Modules/_localemodule.c
@@ -54,9 +54,10 @@ copy_grouping(const char* s)
int i;
PyObject *result, *val = NULL;
- if (s[0] == '\0')
+ if (s[0] == '\0') {
/* empty string: no grouping at all */
return PyList_New(0);
+ }
for (i = 0; s[i] != '\0' && s[i] != CHAR_MAX; i++)
; /* nothing */