[Python-checkins] CVS: python/dist/src/Objects typeobject.c,2.51,2.52

Guido van Rossum gvanrossum@users.sourceforge.net
Wed, 29 Aug 2001 21:37:17 -0700


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

Modified Files:
	typeobject.c 
Log Message:
Make 'super' subclassable.  (Not sure how useful this is yet. :-)


Index: typeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/typeobject.c,v
retrieving revision 2.51
retrieving revision 2.52
diff -C2 -d -r2.51 -r2.52
*** typeobject.c	2001/08/29 23:54:54	2.51
--- typeobject.c	2001/08/30 04:37:15	2.52
***************
*** 3260,3264 ****
  	0,					/* tp_setattro */
  	0,					/* tp_as_buffer */
! 	Py_TPFLAGS_DEFAULT,			/* tp_flags */
   	super_doc,				/* tp_doc */
   	0,					/* tp_traverse */
--- 3260,3264 ----
  	0,					/* tp_setattro */
  	0,					/* tp_as_buffer */
! 	Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */
   	super_doc,				/* tp_doc */
   	0,					/* tp_traverse */