summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-02-28 23:46:34 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2002-02-28 23:46:34 (GMT)
commit31e233aa7a02ed8e95227527223db947567830b4 (patch)
tree8b5866301e7b0bc846f4c7180df84ae11146566f
parent88b666ca3f2e403d23c05a94fbc8038ad2c1fc4d (diff)
downloadcpython-31e233aa7a02ed8e95227527223db947567830b4.zip
cpython-31e233aa7a02ed8e95227527223db947567830b4.tar.gz
cpython-31e233aa7a02ed8e95227527223db947567830b4.tar.bz2
Cells are not VAR objects.
Noted by Jason Orendorff, SF #520768. Bug fix candidate for 2.1 & 2.2.
-rw-r--r--Include/cellobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cellobject.h b/Include/cellobject.h
index cc4a159..f3eef55 100644
--- a/Include/cellobject.h
+++ b/Include/cellobject.h
@@ -7,7 +7,7 @@ extern "C" {
#endif
typedef struct {
- PyObject_VAR_HEAD
+ PyObject_HEAD
PyObject *ob_ref;
} PyCellObject;