Skip to content

Commit 56d4198

Browse files
committed
Drop const in test_objs
1 parent 7ed7148 commit 56d4198

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_testinternalcapi/test_ptr_wise_memmove.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// Five distinguishable immortal singletons used as placeholder pointers.
88
// These require no reference-count management when stored in a raw array.
99
#define NPTRS 5
10-
const static PyObject *test_objs[NPTRS] = {
10+
static PyObject *test_objs[NPTRS] = {
1111
Py_None, Py_True, Py_False, Py_Ellipsis, Py_NotImplemented
1212
};
1313
// Fill buf[0..NPTRS-1] with test_objs in order.

0 commit comments

Comments
 (0)