diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-25 17:53:18 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-25 17:53:18 (GMT) |
commit | 2d06e8445587d9b4d0bf79bdb08ab4743b780249 (patch) | |
tree | 9708850d5ae4855466435687cf36f162834d2694 /Python/formatter_unicode.c | |
parent | ea8c43152fdaa508ec189062b09a470f1b4ba535 (diff) | |
download | cpython-2d06e8445587d9b4d0bf79bdb08ab4743b780249.zip cpython-2d06e8445587d9b4d0bf79bdb08ab4743b780249.tar.gz cpython-2d06e8445587d9b4d0bf79bdb08ab4743b780249.tar.bz2 |
Issue #25923: Added the const qualifier to static constant arrays.
Diffstat (limited to 'Python/formatter_unicode.c')
-rw-r--r-- | Python/formatter_unicode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c index 056bb76..a428fbe 100644 --- a/Python/formatter_unicode.c +++ b/Python/formatter_unicode.c @@ -656,7 +656,7 @@ fill_number(_PyUnicodeWriter *writer, const NumberFieldWidths *spec, return 0; } -static char no_grouping[1] = {CHAR_MAX}; +static const char no_grouping[1] = {CHAR_MAX}; /* Find the decimal point character(s?), thousands_separator(s?), and grouping description, either for the current locale if type is |