summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/slice.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/c-api/slice.rst')
-rw-r--r--Doc/c-api/slice.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/c-api/slice.rst b/Doc/c-api/slice.rst
index 7599c66..e157df2 100644
--- a/Doc/c-api/slice.rst
+++ b/Doc/c-api/slice.rst
@@ -39,7 +39,8 @@ Slice Objects
You probably do not want to use this function.
.. versionchanged:: 3.2
- The parameter type for the *slice* parameter was PySliceObject* before.
+ 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)
@@ -53,4 +54,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.
+ The parameter type for the *slice* parameter was ``PySliceObject*``
+ before.