diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-09-17 03:26:16 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-09-17 03:26:16 (GMT) |
commit | 6d57fe1c23430d0d51de243a177670b76c37dab5 (patch) | |
tree | 8625e5f5e0b9e9f7a7bc02928757772e052f6886 /Modules/_localemodule.c | |
parent | 4a72a7b6c4c95f7613486f0e4e20a3d4815a16c5 (diff) | |
download | cpython-6d57fe1c23430d0d51de243a177670b76c37dab5.zip cpython-6d57fe1c23430d0d51de243a177670b76c37dab5.tar.gz cpython-6d57fe1c23430d0d51de243a177670b76c37dab5.tar.bz2 |
Issue #28139: Fix messed up indentation
Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.
Diffstat (limited to 'Modules/_localemodule.c')
-rw-r--r-- | Modules/_localemodule.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/_localemodule.c b/Modules/_localemodule.c index b1d6add..b1307ef 100644 --- a/Modules/_localemodule.c +++ b/Modules/_localemodule.c @@ -54,9 +54,10 @@ copy_grouping(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 */ |