From: chilaxan Date: Sun, 11 Oct 2020 18:21:51 +0000 (-0400) Subject: Fix typo in listobject.h (GH-22588) X-Git-Tag: v3.10.0a2~207 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=10c98db7f5ccf0af9d8803a132ca8641193ebda1;p=thirdparty%2FPython%2Fcpython.git Fix typo in listobject.h (GH-22588) --- diff --git a/Include/cpython/listobject.h b/Include/cpython/listobject.h index 70b9d83d8a23..e1b9462d5b36 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])