diff --git a/Objects/sliceobject.c b/Objects/sliceobject.c index f2d84dad65d..83af14f37e6 100644 --- a/Objects/sliceobject.c +++ b/Objects/sliceobject.c @@ -249,7 +249,7 @@ S. Out of bounds indices are clipped in a manner consistent with the\n\ handling of normal slices."); static PyMethodDef slice_methods[] = { - {"indices", (PyCFuntion)slice_indices, + {"indices", (PyCFunction)slice_indices, METH_O, slice_indices_doc}, {NULL, NULL} };