summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/list.rst
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2022-04-22 12:59:18 (GMT)
committerGitHub <noreply@github.com>2022-04-22 12:59:18 (GMT)
commit121806160962d4e96b5e874a173d515531ae994b (patch)
tree138deee2ffad48f41fedf1bcfedeb6f05d0ba104 /Doc/c-api/list.rst
parent9e146bbb7e1c0d872817ac63c60454a201b50039 (diff)
downloadcpython-121806160962d4e96b5e874a173d515531ae994b.zip
cpython-121806160962d4e96b5e874a173d515531ae994b.tar.gz
cpython-121806160962d4e96b5e874a173d515531ae994b.tar.bz2
gh-89653: PEP 670: Amend docs (GH-91813)
Diffstat (limited to 'Doc/c-api/list.rst')
-rw-r--r--Doc/c-api/list.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/list.rst b/Doc/c-api/list.rst
index f338e2a..f9e6535 100644
--- a/Doc/c-api/list.rst
+++ b/Doc/c-api/list.rst
@@ -53,7 +53,7 @@ List Objects
.. c:function:: Py_ssize_t PyList_GET_SIZE(PyObject *list)
- Macro form of :c:func:`PyList_Size` without error checking.
+ Similar to :c:func:`PyList_Size`, but without error checking.
.. c:function:: PyObject* PyList_GetItem(PyObject *list, Py_ssize_t index)
@@ -66,7 +66,7 @@ List Objects
.. c:function:: PyObject* PyList_GET_ITEM(PyObject *list, Py_ssize_t i)
- Macro form of :c:func:`PyList_GetItem` without error checking.
+ Similar to :c:func:`PyList_GetItem`, but without error checking.
.. c:function:: int PyList_SetItem(PyObject *list, Py_ssize_t index, PyObject *item)