From: Martin v. Löwis Date: Sat, 11 Dec 2010 19:22:04 +0000 (+0000) Subject: Add versionchanged for parameter type changes. X-Git-Tag: v3.2b2~146 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6d9839d0111f871e5ed05514736d111388ad531b;p=thirdparty%2FPython%2Fcpython.git Add versionchanged for parameter type changes. --- diff --git a/Doc/c-api/slice.rst b/Doc/c-api/slice.rst index 302091ff8c60..7599c66fdf74 100644 --- a/Doc/c-api/slice.rst +++ b/Doc/c-api/slice.rst @@ -38,6 +38,9 @@ Slice Objects You probably do not want to use this function. + .. versionchanged:: 3.2 + The parameter type for the *slice* parameter was PySliceObject* before. + .. c:function:: int PySlice_GetIndicesEx(PyObject *slice, Py_ssize_t length, Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step, Py_ssize_t *slicelength) @@ -49,3 +52,5 @@ Slice Objects Returns 0 on success and -1 on error with exception set. + .. versionchanged:: 3.2 + The parameter type for the *slice* parameter was PySliceObject* before.