Commit 2884c777 authored by Tres Seaver's avatar Tres Seaver

Forward port fix for Collector #1799.

parent c9c2a69f
......@@ -155,9 +155,9 @@ __of__(PyObject *inst, PyObject *parent)
UNLESS(r=PyObject_GetAttr(inst, py__of__)) return NULL;
UNLESS(t=PyTuple_New(1)) goto err;
Py_INCREF(parent);
PyTuple_SET_ITEM(t,0,parent);
ASSIGN(r,PyObject_CallObject(r,t));
PyTuple_SET_ITEM(t,0,NULL);
Py_DECREF(t);
if (r != NULL
......
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