]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
backport jhylton's checkin of
authorMichael W. Hudson <mwh@python.net>
Fri, 15 Mar 2002 10:23:11 +0000 (10:23 +0000)
committerMichael W. Hudson <mwh@python.net>
Fri, 15 Mar 2002 10:23:11 +0000 (10:23 +0000)
    revision 2.2 of cellobject.h

Cells are not VAR objects.

Noted by Jason Orendorff, SF #520768.

Bug fix candidate for 2.1 & 2.2.

Include/cellobject.h

index cc4a159e85970ba2d9370243c3dc96b73718db24..f3eef55e49416d6a82b0c14cbc8d1ecd024efa4a 100644 (file)
@@ -7,7 +7,7 @@ extern "C" {
 #endif
 
 typedef struct {
-       PyObject_VAR_HEAD
+       PyObject_HEAD
        PyObject *ob_ref;
 } PyCellObject;