mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Fix typo in listobject.h (GH-22588)
This commit is contained in:
parent
8197a93208
commit
10c98db7f5
1 changed files with 1 additions and 1 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue