summaryrefslogtreecommitdiff
path: root/Objects/typeobject.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-12-25 19:53:18 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2015-12-25 19:53:18 +0200
commit2d06e8445587d9b4d0bf79bdb08ab4743b780249 (patch)
tree9708850d5ae4855466435687cf36f162834d2694 /Objects/typeobject.c
parentea8c43152fdaa508ec189062b09a470f1b4ba535 (diff)
downloadcpython-git-2d06e8445587d9b4d0bf79bdb08ab4743b780249.tar.gz
Issue #25923: Added the const qualifier to static constant arrays.
Diffstat (limited to 'Objects/typeobject.c')
-rw-r--r--Objects/typeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 341e18c455..b4d23b257a 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -2690,7 +2690,7 @@ error:
return NULL;
}
-static short slotoffsets[] = {
+static const short slotoffsets[] = {
-1, /* invalid slot */
#include "typeslots.inc"
};