diff options
Diffstat (limited to 'Include/tupleobject.h')
-rw-r--r-- | Include/tupleobject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/tupleobject.h b/Include/tupleobject.h index 3da3fe0..c5ec1c2 100644 --- a/Include/tupleobject.h +++ b/Include/tupleobject.h @@ -27,6 +27,7 @@ typedef struct { extern DL_IMPORT(PyTypeObject) PyTuple_Type; #define PyTuple_Check(op) PyObject_TypeCheck(op, &PyTuple_Type) +#define PyTuple_CheckExact(op) ((op)->ob_type == &PyTuple_Type) extern DL_IMPORT(PyObject *) PyTuple_New(int size); extern DL_IMPORT(int) PyTuple_Size(PyObject *); |