fix typo in _struct

This commit is contained in:
Bob Ippolito 2006-05-23 19:32:25 +00:00
parent d3611eb3c6
commit 07c023b10e
1 changed files with 2 additions and 2 deletions

View 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 */