commit | 3a9930db47c61529450a125bd47b39db4405fc7f | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Fri May 08 03:29:26 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Fri May 08 03:29:26 2009 +0000 |
tree | a284706a103b2430e095912339c728e97efb1576 | |
parent | 399e4c4f8f2570a342ac50e9500b12e86eb330a9 [diff] [blame] |
this is now a bound method
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 @@ 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); } }