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 /Modules/_gdbmmodule.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 'Modules/_gdbmmodule.c')
-rw-r--r-- | Modules/_gdbmmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_gdbmmodule.c b/Modules/_gdbmmodule.c index f070a14..bf7b036 100644 --- a/Modules/_gdbmmodule.c +++ b/Modules/_gdbmmodule.c @@ -615,7 +615,7 @@ dbmopen_impl(PyModuleDef *module, const char *name, const char *flags, return newdbmobject(name, iflags, mode); } -static char dbmmodule_open_flags[] = "rwcn" +static const char dbmmodule_open_flags[] = "rwcn" #ifdef GDBM_FAST "f" #endif |