diff options
Diffstat (limited to 'Include/tupleobject.h')
-rw-r--r-- | Include/tupleobject.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/tupleobject.h b/Include/tupleobject.h index 72a7d8d..257e05a 100644 --- a/Include/tupleobject.h +++ b/Include/tupleobject.h @@ -58,6 +58,10 @@ PyAPI_FUNC(void) _PyTuple_MaybeUntrack(PyObject *); #define PyTuple_GET_ITEM(op, i) (((PyTupleObject *)(op))->ob_item[i]) #define PyTuple_GET_SIZE(op) (assert(PyTuple_Check(op)),Py_SIZE(op)) +#ifdef Py_BUILD_CORE +# define _PyTuple_ITEMS(op) ((((PyTupleObject *)(op))->ob_item)) +#endif + /* Macro, *only* to be used to fill in brand new tuples */ #define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))->ob_item[i] = v) #endif |