Merge trunk up to 45598.
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 4caf538..38820d4 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -4183,10 +4183,10 @@
if (value == NULL)
res = call_method(self, "__delitem__", &delitem_str,
- "(i)", index);
+ "(n)", index);
else
res = call_method(self, "__setitem__", &setitem_str,
- "(iO)", index, value);
+ "(nO)", index, value);
if (res == NULL)
return -1;
Py_DECREF(res);
@@ -4201,10 +4201,10 @@
if (value == NULL)
res = call_method(self, "__delslice__", &delslice_str,
- "(ii)", i, j);
+ "(nn)", i, j);
else
res = call_method(self, "__setslice__", &setslice_str,
- "(iiO)", i, j, value);
+ "(nnO)", i, j, value);
if (res == NULL)
return -1;
Py_DECREF(res);