Fix markup.
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 @@
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 @@
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.