mirror of
https://github.com/python/cpython.git
synced 2025-09-08 01:41:19 +00:00
Issue #25923: Added the const qualifier to static constant arrays.
This commit is contained in:
parent
ea8c43152f
commit
2d06e84455
44 changed files with 139 additions and 134 deletions
|
@ -2690,7 +2690,7 @@ error:
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static short slotoffsets[] = {
|
||||
static const short slotoffsets[] = {
|
||||
-1, /* invalid slot */
|
||||
#include "typeslots.inc"
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue