From c927c8a3ea4d58197a0f559b9bebc640e307d42f Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 9 Apr 2003 17:06:31 +0000 Subject: 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. --- Objects/descrobject.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Objects/descrobject.c b/Objects/descrobject.c index e7aa4ec..614cb40 100644 --- a/Objects/descrobject.c +++ b/Objects/descrobject.c @@ -1061,6 +1061,7 @@ property_traverse(PyObject *self, visitproc visit, void *arg) VISIT(prop_get); VISIT(prop_set); VISIT(prop_del); + VISIT(prop_doc); return 0; } -- cgit v0.12