]> granicus.if.org Git - python/commitdiff
Cells are not VAR objects.
authorJeremy Hylton <jeremy@alum.mit.edu>
Thu, 28 Feb 2002 23:46:34 +0000 (23:46 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Thu, 28 Feb 2002 23:46:34 +0000 (23:46 +0000)
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;