[Python-checkins] no-issue: typo fix in c-api/tuple.rst (gh-98560)

corona10 webhook-mailer at python.org
Sun Oct 23 06:47:01 EDT 2022


https://github.com/python/cpython/commit/833f275840811a3f38c367df24bbc44caf00b26f
commit: 833f275840811a3f38c367df24bbc44caf00b26f
branch: main
author: wim glenn <wim.glenn at gmail.com>
committer: corona10 <donghee.na92 at gmail.com>
date: 2022-10-23T19:46:56+09:00
summary:

no-issue: typo fix in c-api/tuple.rst (gh-98560)

files:
M Doc/c-api/tuple.rst

diff --git a/Doc/c-api/tuple.rst b/Doc/c-api/tuple.rst
index 0bfd4b308d93..5acddf7849aa 100644
--- a/Doc/c-api/tuple.rst
+++ b/Doc/c-api/tuple.rst
@@ -69,7 +69,7 @@ Tuple Objects
 
    Return the slice of the tuple pointed to by *p* between *low* and *high*,
    or ``NULL`` on failure.  This is the equivalent of the Python expression
-   ``p[low:high]``.  Indexing from the end of the list is not supported.
+   ``p[low:high]``.  Indexing from the end of the tuple is not supported.
 
 
 .. c:function:: int PyTuple_SetItem(PyObject *p, Py_ssize_t pos, PyObject *o)



More information about the Python-checkins mailing list