From 07c023b10e69efd3ba3d8937095fa4f16348aece Mon Sep 17 00:00:00 2001 From: Bob Ippolito Date: Tue, 23 May 2006 19:32:25 +0000 Subject: fix typo in _struct --- Modules/_struct.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/_struct.c b/Modules/_struct.c index 93b9ec1..7d0467d 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 */ -- cgit v0.12