[Python-checkins] CVS: python/dist/src/Include cellobject.h,2.1,2.1.24.1

Michael Hudson mwh@users.sourceforge.net
Fri, 15 Mar 2002 02:23:14 -0800


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv30356

Modified Files:
      Tag: release22-maint
	cellobject.h 
Log Message:
backport jhylton's checkin of
    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.


Index: cellobject.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/cellobject.h,v
retrieving revision 2.1
retrieving revision 2.1.24.1
diff -C2 -d -r2.1 -r2.1.24.1
*** cellobject.h	25 Jan 2001 20:04:14 -0000	2.1
--- cellobject.h	15 Mar 2002 10:23:11 -0000	2.1.24.1
***************
*** 8,12 ****
  
  typedef struct {
! 	PyObject_VAR_HEAD
  	PyObject *ob_ref;
  } PyCellObject;
--- 8,12 ----
  
  typedef struct {
! 	PyObject_HEAD
  	PyObject *ob_ref;
  } PyCellObject;