[Python-checkins] Fix typo in listobject.h (GH-22588)

chilaxan webhook-mailer at python.org
Sun Oct 11 14:21:55 EDT 2020


https://github.com/python/cpython/commit/10c98db7f5ccf0af9d8803a132ca8641193ebda1
commit: 10c98db7f5ccf0af9d8803a132ca8641193ebda1
branch: master
author: chilaxan <chilaxan at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-10-11T19:21:51+01:00
summary:

Fix typo in listobject.h (GH-22588)

files:
M Include/cpython/listobject.h

diff --git a/Include/cpython/listobject.h b/Include/cpython/listobject.h
index 70b9d83d8a232..e1b9462d5b361 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])



More information about the Python-checkins mailing list