summaryrefslogtreecommitdiffstats
path: root/Include/cpython
diff options
context:
space:
mode:
authorchilaxan <chilaxan@gmail.com>2020-10-11 18:21:51 (GMT)
committerGitHub <noreply@github.com>2020-10-11 18:21:51 (GMT)
commit10c98db7f5ccf0af9d8803a132ca8641193ebda1 (patch)
treed29a3d28e9a852abf3ba658dc13c2190adf512ea /Include/cpython
parent8197a93208fea3b56e012272b6cf3f0c2c582d4a (diff)
downloadcpython-10c98db7f5ccf0af9d8803a132ca8641193ebda1.zip
cpython-10c98db7f5ccf0af9d8803a132ca8641193ebda1.tar.gz
cpython-10c98db7f5ccf0af9d8803a132ca8641193ebda1.tar.bz2
Fix typo in listobject.h (GH-22588)
Diffstat (limited to 'Include/cpython')
-rw-r--r--Include/cpython/listobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/listobject.h b/Include/cpython/listobject.h
index 70b9d83..e1b9462 100644
--- a/Include/cpython/listobject.h
+++ b/Include/cpython/listobject.h
@@ -26,7 +26,7 @@ PyAPI_FUNC(void) _PyList_DebugMallocStats(FILE *out);
/* Macro, trading safety for speed */
-/* Cast argument to PyTupleObject* type. */
+/* Cast argument to PyListObject* type. */
#define _PyList_CAST(op) (assert(PyList_Check(op)), (PyListObject *)(op))
#define PyList_GET_ITEM(op, i) (_PyList_CAST(op)->ob_item[i])