Skip to content

Commit dfe4acd

Browse files
author
gvanrossum
committed
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. git-svn-id: http://svn.python.org/projects/python/trunk@32175 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent b14bc50 commit dfe4acd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Objects/descrobject.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,6 +1201,7 @@ property_traverse(PyObject *self, visitproc visit, void *arg)
12011201
VISIT(prop_get);
12021202
VISIT(prop_set);
12031203
VISIT(prop_del);
1204+
VISIT(prop_doc);
12041205

12051206
return 0;
12061207
}

0 commit comments

Comments
 (0)