Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cee67fa commit c34fa2bCopy full SHA for c34fa2b
1 file changed
Modules/gcmodule.c
@@ -479,9 +479,9 @@ subtract_refs(PyGC_Head *containers)
479
for (; gc != containers; gc = GC_NEXT(gc)) {
480
PyObject *op = FROM_GC(gc);
481
traverse = Py_TYPE(op)->tp_traverse;
482
- (void) traverse(FROM_GC(gc),
483
- (visitproc)visit_decref,
484
- op);
+ (void) traverse(op,
+ (visitproc)visit_decref,
+ op);
485
}
486
487
0 commit comments