mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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:
parent
70367d3a6c
commit
00bf8280f5
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue