diff options
author | Georg Brandl <georg@python.org> | 2009-05-30 10:33:23 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-05-30 10:33:23 (GMT) |
commit | 6a4689887c431f9e56309f2039ca0d713ca83b78 (patch) | |
tree | 672d55d4f0e60a7e6309a13d9b59a0a12fb9ee27 /Doc/c-api | |
parent | 7be493a86c63feeb423302afc5906441d4ec1331 (diff) | |
download | cpython-6a4689887c431f9e56309f2039ca0d713ca83b78.zip cpython-6a4689887c431f9e56309f2039ca0d713ca83b78.tar.gz cpython-6a4689887c431f9e56309f2039ca0d713ca83b78.tar.bz2 |
Fix some more small markup problems.
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/sequence.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/c-api/sequence.rst b/Doc/c-api/sequence.rst index 0b22090..2808a88 100644 --- a/Doc/c-api/sequence.rst +++ b/Doc/c-api/sequence.rst @@ -62,7 +62,7 @@ Sequence Protocol .. cfunction:: PyObject* PySequence_GetItem(PyObject *o, Py_ssize_t i) - Return the *i*th element of *o*, or *NULL* on failure. This is the equivalent of + Return the *i*\ th element of *o*, or *NULL* on failure. This is the equivalent of the Python expression ``o[i]``. .. versionchanged:: 2.5 @@ -82,7 +82,7 @@ Sequence Protocol .. cfunction:: int PySequence_SetItem(PyObject *o, Py_ssize_t i, PyObject *v) - Assign object *v* to the *i*th element of *o*. Returns ``-1`` on failure. This + Assign object *v* to the *i*\ th element of *o*. Returns ``-1`` on failure. This is the equivalent of the Python statement ``o[i] = v``. This function *does not* steal a reference to *v*. @@ -93,7 +93,7 @@ Sequence Protocol .. cfunction:: int PySequence_DelItem(PyObject *o, Py_ssize_t i) - Delete the *i*th element of object *o*. Returns ``-1`` on failure. This is the + Delete the *i*\ th element of object *o*. Returns ``-1`` on failure. This is the equivalent of the Python statement ``del o[i]``. .. versionchanged:: 2.5 @@ -175,7 +175,7 @@ Sequence Protocol .. cfunction:: PyObject* PySequence_Fast_GET_ITEM(PyObject *o, Py_ssize_t i) - Return the *i*th element of *o*, assuming that *o* was returned by + Return the *i*\ th element of *o*, assuming that *o* was returned by :cfunc:`PySequence_Fast`, *o* is not *NULL*, and that *i* is within bounds. .. versionchanged:: 2.5 @@ -197,7 +197,7 @@ Sequence Protocol .. cfunction:: PyObject* PySequence_ITEM(PyObject *o, Py_ssize_t i) - Return the *i*th element of *o* or *NULL* on failure. Macro form of + Return the *i*\ th element of *o* or *NULL* on failure. Macro form of :cfunc:`PySequence_GetItem` but without checking that :cfunc:`PySequence_Check(o)` is true and without adjustment for negative indices. |