summaryrefslogtreecommitdiffstats
path: root/Objects/classobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/classobject.c')
-rw-r--r--Objects/classobject.c2
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;
}