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

Guido van Rossum gvanrossum@users.sourceforge.net
Wed, 13 Jun 2001 17:54:08 -0700


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

Modified Files:
      Tag: descr-branch
	typeobject.c 
Log Message:
Don't inherit tp_doc -- it would be misleading.


Index: typeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/typeobject.c,v
retrieving revision 2.16.8.38
retrieving revision 2.16.8.39
diff -C2 -r2.16.8.38 -r2.16.8.39
*** typeobject.c	2001/06/11 18:45:10	2.16.8.38
--- typeobject.c	2001/06/14 00:54:06	2.16.8.39
***************
*** 945,949 ****
  	COPYSLOT(tp_as_buffer);
  	COPYSLOT(tp_flags);
- 	COPYSLOT(tp_doc);
  	if (type->tp_flags & base->tp_flags & Py_TPFLAGS_HAVE_RICHCOMPARE) {
  		if (type->tp_compare == NULL && type->tp_richcompare == NULL) {
--- 945,948 ----