summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-05-08 03:29:26 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-05-08 03:29:26 (GMT)
commit3a9930db47c61529450a125bd47b39db4405fc7f (patch)
treea284706a103b2430e095912339c728e97efb1576
parent399e4c4f8f2570a342ac50e9500b12e86eb330a9 (diff)
downloadcpython-3a9930db47c61529450a125bd47b39db4405fc7f.zip
cpython-3a9930db47c61529450a125bd47b39db4405fc7f.tar.gz
cpython-3a9930db47c61529450a125bd47b39db4405fc7f.tar.bz2
this is now a bound method
-rw-r--r--Objects/object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c
index 3a76193..08abe71 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -506,7 +506,7 @@ PyObject_Unicode(PyObject *v)
func = _PyObject_LookupSpecial(v, "__unicode__", &unicodestr);
if (func != NULL) {
unicode_method_found = 1;
- res = PyObject_CallFunctionObjArgs(func, v, NULL);
+ res = PyObject_CallFunctionObjArgs(func, NULL);
Py_DECREF(func);
}
}