Commit 00bf8280 authored by Guido van Rossum's avatar Guido van Rossum

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.
parent 70367d3a
...@@ -1201,6 +1201,7 @@ property_traverse(PyObject *self, visitproc visit, void *arg) ...@@ -1201,6 +1201,7 @@ property_traverse(PyObject *self, visitproc visit, void *arg)
VISIT(prop_get); VISIT(prop_get);
VISIT(prop_set); VISIT(prop_set);
VISIT(prop_del); VISIT(prop_del);
VISIT(prop_doc);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment