Index: Doc/c-api/list.rst =================================================================== --- Doc/c-api/list.rst (revision 72457) +++ Doc/c-api/list.rst (working copy) @@ -116,7 +116,11 @@ *low* and *high*. Return *NULL* and set an exception if unsuccessful. Analogous to ``list[low:high]``. + .. note:: + + Negative indices not supported. + .. cfunction:: int PyList_SetSlice(PyObject *list, Py_ssize_t low, Py_ssize_t high, PyObject *itemlist) Set the slice of *list* between *low* and *high* to the contents of @@ -124,7 +128,11 @@ be *NULL*, indicating the assignment of an empty list (slice deletion). Return ``0`` on success, ``-1`` on failure. + .. note:: + + Negative indices not supported. + .. cfunction:: int PyList_Sort(PyObject *list) Sort the items of *list* in place. Return ``0`` on success, ``-1`` on