diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-25 19:53:18 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-25 19:53:18 +0200 |
commit | d1ba93f9a6a441ac31c5fd1890ce730b9e6d330d (patch) | |
tree | 8b977eca9b539fb4d1064d92cc2a405fab36e75d /Python/formatter_unicode.c | |
parent | 5f0e32baa674d4563910e0b58f1563ab0b2aa52a (diff) | |
download | cpython-d1ba93f9a6a441ac31c5fd1890ce730b9e6d330d.tar.gz |
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 056bb76902..a428fbec80 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 |