summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-12-11 22:19:34 (GMT)
committerGeorg Brandl <georg@python.org>2010-12-11 22:19:34 (GMT)
commit18d378dc3dca99e207047d6a32ebc36ef43c671b (patch)
tree1b59d0f9b62cb8dbf3b79d8de9cd5572c958df67
parentad6f877f9899ba6ae7990eb4f090e7ac97bfa7d7 (diff)
downloadcpython-18d378dc3dca99e207047d6a32ebc36ef43c671b.zip
cpython-18d378dc3dca99e207047d6a32ebc36ef43c671b.tar.gz
cpython-18d378dc3dca99e207047d6a32ebc36ef43c671b.tar.bz2
Fix markup.
-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.