[Python-checkins] python/dist/src/Objects descrobject.c,2.22,2.22.4.1

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Wed, 09 Apr 2003 10:06:35 -0700


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

Modified Files:
      Tag: release22-maint
	descrobject.c 
Log Message:
Backport from trunk:
property_traverse() should also traverse into prop_doc -- there's no
typecheck that guarantees it's a string, and BTW string subclasses
could hide references.


Index: descrobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/descrobject.c,v
retrieving revision 2.22
retrieving revision 2.22.4.1
diff -C2 -d -r2.22 -r2.22.4.1
*** descrobject.c	15 Dec 2001 05:00:30 -0000	2.22
--- descrobject.c	9 Apr 2003 17:06:31 -0000	2.22.4.1
***************
*** 1062,1065 ****
--- 1062,1066 ----
  	VISIT(prop_set);
  	VISIT(prop_del);
+ 	VISIT(prop_doc);
  
  	return 0;