summaryrefslogtreecommitdiff
path: root/Modules/_struct.c
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2006-05-23 19:32:25 +0000
committerBob Ippolito <bob@redivi.com>2006-05-23 19:32:25 +0000
commit07c023b10e69efd3ba3d8937095fa4f16348aece (patch)
tree49ed3c9ebe747b62b361405dca83c8f324386319 /Modules/_struct.c
parentd3611eb3c667f5b06200675625963a780111dbf8 (diff)
downloadcpython-git-07c023b10e69efd3ba3d8937095fa4f16348aece.tar.gz
fix typo in _struct
Diffstat (limited to 'Modules/_struct.c')
-rw-r--r--Modules/_struct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_struct.c b/Modules/_struct.c
index 93b9ec1b3c..7d0467d71d 100644
--- a/Modules/_struct.c
+++ b/Modules/_struct.c
@@ -46,8 +46,8 @@ typedef struct {
PyObject *weakreflist; /* List of weak references */
} PyStructObject;
-#define PyStruct_Check(op) PyObject_TypeCheck(op, &PyStruct_Type)
-#define PyStruct_CheckExact(op) ((op)->ob_type == &PyStruct_Type)
+#define PyStruct_Check(op) PyObject_TypeCheck(op, &PyStructType)
+#define PyStruct_CheckExact(op) ((op)->ob_type == &PyStructType)
/* Exception */