From 6d9839d0111f871e5ed05514736d111388ad531b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= <martin@v.loewis.de> Date: Sat, 11 Dec 2010 19:22:04 +0000 Subject: [PATCH] Add versionchanged for parameter type changes. --- Doc/c-api/slice.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/c-api/slice.rst b/Doc/c-api/slice.rst index 302091ff8c..7599c66fdf 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. -- 2.40.0