mirror of https://github.com/python/cpython.git
fix typo in _struct
This commit is contained in:
parent
d3611eb3c6
commit
07c023b10e
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue