From 10c98db7f5ccf0af9d8803a132ca8641193ebda1 Mon Sep 17 00:00:00 2001 From: chilaxan Date: Sun, 11 Oct 2020 14:21:51 -0400 Subject: [PATCH] Fix typo in listobject.h (GH-22588) --- Include/cpython/listobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/cpython/listobject.h b/Include/cpython/listobject.h index 70b9d83d8a2..e1b9462d5b3 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])