8000 Update Modules/_testcapi/list.c · python/cpython@ca07ac9 · GitHub
[go: up one dir, main page]

Skip to content

Commit ca07ac9

Browse files
authored
Update Modules/_testcapi/list.c
1 parent 361b045 commit ca07ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_testcapi/list.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ list_setslice(PyObject *Py_UNUSED(module), PyObject *args)
137137
}
138138
NULLABLE(obj);
139139
NULLABLE(value);
140-
RETURN_INT(PyList_SetSlice(obj, ilow, ihigh, Py_XNewRef(value)));
140+
RETURN_INT(PyList_SetSlice(obj, ilow, ihigh, value));
141141

142142
}
143143

0 commit comments

Comments
 (0)
0