summaryrefslogtreecommitdiffstats
path: root/Include/intobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/intobject.h')
-rw-r--r--Include/intobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/intobject.h b/Include/intobject.h
index 29448e3..2d244ec 100644
--- a/Include/intobject.h
+++ b/Include/intobject.h
@@ -28,6 +28,7 @@ typedef struct {
extern DL_IMPORT(PyTypeObject) PyInt_Type;
#define PyInt_Check(op) PyObject_TypeCheck(op, &PyInt_Type)
+#define PyInt_CheckExact(op) ((op)->ob_type == &PyInt_Type)
extern DL_IMPORT(PyObject *) PyInt_FromString(char*, char**, int);
#ifdef Py_USING_UNICODE