[Python-checkins] r46151 - python/trunk/Modules/_struct.c

bob.ippolito python-checkins at python.org
Tue May 23 21:32:25 CEST 2006


Author: bob.ippolito
Date: Tue May 23 21:32:25 2006
New Revision: 46151

Modified:
   python/trunk/Modules/_struct.c
Log:
fix typo in _struct

Modified: python/trunk/Modules/_struct.c
==============================================================================
--- python/trunk/Modules/_struct.c	(original)
+++ python/trunk/Modules/_struct.c	Tue May 23 21:32:25 2006
@@ -46,8 +46,8 @@
 	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 */


More information about the Python-checkins mailing list