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.
This commit is contained in:
Guido van Rossum 2003-04-09 17:05:33 +00:00
parent 70367d3a6c
commit 00bf8280f5
1 changed files with 1 additions and 0 deletions

View File

@ -1201,6 +1201,7 @@ property_traverse(PyObject *self, visitproc visit, void *arg)
VISIT(prop_get);
VISIT(prop_set);
VISIT(prop_del);
VISIT(prop_doc);
return 0;
}