Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 10c98db

Browse files
authored
Fix typo in listobject.h (GH-22588)
1 parent 8197a93 commit 10c98db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Include/cpython/listobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ PyAPI_FUNC(void) _PyList_DebugMallocStats(FILE *out);
2626

2727
/* Macro, trading safety for speed */
2828

29-
/* Cast argument to PyTupleObject* type. */
29+
/* Cast argument to PyListObject* type. */
3030
#define _PyList_CAST(op) (assert(PyList_Check(op)), (PyListObject *)(op))
3131

3232
#define PyList_GET_ITEM(op, i) (_PyList_CAST(op)->ob_item[i])

0 commit comments

Comments
 (0)