diff options
author | Bob Ippolito <bob@redivi.com> | 2006-05-23 19:32:25 +0000 |
---|---|---|
committer | Bob Ippolito <bob@redivi.com> | 2006-05-23 19:32:25 +0000 |
commit | 5dbd3600da3fbaee5c173bb16b8d10b07927e899 (patch) | |
tree | bf295286b8349d9b895f1f821c471bb7b959d0bf /Modules/_struct.c | |
parent | 3f9138613209d9dba3391b385f60e0f858dbc23f (diff) | |
download | cpython-5dbd3600da3fbaee5c173bb16b8d10b07927e899.tar.gz |
fix typo in _struct
Diffstat (limited to 'Modules/_struct.c')
-rw-r--r-- | Modules/_struct.c | 4 |
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 */ |