diff options
Diffstat (limited to 'Objects/classobject.c')
-rw-r--r-- | Objects/classobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/classobject.c b/Objects/classobject.c index 60214a4..ed79da5 100644 --- a/Objects/classobject.c +++ b/Objects/classobject.c @@ -626,7 +626,7 @@ instance_getattr2(register PyInstanceObject *inst, PyObject *name) if (class != NULL) { if (PyFunction_Check(v)) { PyObject *w = PyMethod_New(v, (PyObject *)inst, - (PyObject *)class); + (PyObject *)class); Py_DECREF(v); v = w; } |