From 5dbd3600da3fbaee5c173bb16b8d10b07927e899 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(-) (limited to 'Modules/_struct.c') 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 */ -- cgit v1.2.1