[Python-3000-checkins] r56482 - python/branches/p3yk/Objects/structseq.c

martin.v.loewis python-3000-checkins at python.org
Sat Jul 21 19:10:57 CEST 2007


Author: martin.v.loewis
Date: Sat Jul 21 19:10:57 2007
New Revision: 56482

Modified:
   python/branches/p3yk/Objects/structseq.c
Log:
Correctly refer to _ob_next.


Modified: python/branches/p3yk/Objects/structseq.c
==============================================================================
--- python/branches/p3yk/Objects/structseq.c	(original)
+++ python/branches/p3yk/Objects/structseq.c	Sat Jul 21 19:10:57 2007
@@ -355,7 +355,7 @@
 #ifdef Py_TRACE_REFS
 	/* if the type object was chained, unchain it first
 	   before overwriting its storage */
-	if (type->_ob_next) {
+	if (type->ob_base.ob_base._ob_next) {
 		_Py_ForgetReference((PyObject*)type);
 	}
 #endif


More information about the Python-3000-checkins mailing list