summaryrefslogtreecommitdiffstats
path: root/Include/moduleobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/moduleobject.h')
-rw-r--r--Include/moduleobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/moduleobject.h b/Include/moduleobject.h
index 8c3ba61..533567c 100644
--- a/Include/moduleobject.h
+++ b/Include/moduleobject.h
@@ -10,6 +10,7 @@ extern "C" {
extern DL_IMPORT(PyTypeObject) PyModule_Type;
#define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type)
+#define PyModule_CheckExact(op) ((op)->ob_type == &PyModule_Type)
extern DL_IMPORT(PyObject *) PyModule_New(char *);
extern DL_IMPORT(PyObject *) PyModule_GetDict(PyObject *);