]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in listobject.h (GH-22588)
authorchilaxan <chilaxan@gmail.com>
Sun, 11 Oct 2020 18:21:51 +0000 (14:21 -0400)
committerGitHub <noreply@github.com>
Sun, 11 Oct 2020 18:21:51 +0000 (19:21 +0100)
Include/cpython/listobject.h

index 70b9d83d8a232cc34d1e85fcdcf482b62aa15089..e1b9462d5b3612a1f894aa1bc0a073112af109ee 100644 (file)
@@ -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])