]> granicus.if.org Git - python/commitdiff
fix typo in _struct
authorBob Ippolito <bob@redivi.com>
Tue, 23 May 2006 19:32:25 +0000 (19:32 +0000)
committerBob Ippolito <bob@redivi.com>
Tue, 23 May 2006 19:32:25 +0000 (19:32 +0000)
Modules/_struct.c

index 93b9ec1b3ca81ce26720b575e08d2759d78ff30f..7d0467d71dccb73015c6ac170a5f740ab61b2643 100644 (file)
@@ -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 */