summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2010-12-11 19:22:04 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2010-12-11 19:22:04 (GMT)
commit6d9839d0111f871e5ed05514736d111388ad531b (patch)
treecbc1e74928dc7ed664178d4d8c21a8fa6ee7da2c
parentab3734fd97cb060b3e39d0350df0e741ad3b7b11 (diff)
downloadcpython-6d9839d0111f871e5ed05514736d111388ad531b.zip
cpython-6d9839d0111f871e5ed05514736d111388ad531b.tar.gz
cpython-6d9839d0111f871e5ed05514736d111388ad531b.tar.bz2
Add versionchanged for parameter type changes.
-rw-r--r--Doc/c-api/slice.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/c-api/slice.rst b/Doc/c-api/slice.rst
index 302091f..7599c66 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.