diff options
author | Yasser A <i_r7al@me.com> | 2020-11-30 09:53:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 09:53:11 (GMT) |
commit | 9f004634a2bf50c782e223e2eb386ffa769b901c (patch) | |
tree | 7b22497df4990d13d3d1707ccd12fc1da6a554a2 /Doc/c-api/tuple.rst | |
parent | 96545924780da34afc457bc22a869096af985ebf (diff) | |
download | cpython-9f004634a2bf50c782e223e2eb386ffa769b901c.zip cpython-9f004634a2bf50c782e223e2eb386ffa769b901c.tar.gz cpython-9f004634a2bf50c782e223e2eb386ffa769b901c.tar.bz2 |
bpo-42451: Indicate that PyTuple_GetItem does not support negative indices (GH-23529)
Diffstat (limited to 'Doc/c-api/tuple.rst')
-rw-r--r-- | Doc/c-api/tuple.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/tuple.rst b/Doc/c-api/tuple.rst index bf751e44..c0c14f4 100644 --- a/Doc/c-api/tuple.rst +++ b/Doc/c-api/tuple.rst @@ -57,7 +57,7 @@ Tuple Objects .. c:function:: PyObject* PyTuple_GetItem(PyObject *p, Py_ssize_t pos) Return the object at position *pos* in the tuple pointed to by *p*. If *pos* is - out of bounds, return ``NULL`` and set an :exc:`IndexError` exception. + negative or out of bounds, return ``NULL`` and set an :exc:`IndexError` exception. .. c:function:: PyObject* PyTuple_GET_ITEM(PyObject *p, Py_ssize_t pos) |