From: Benjamin Peterson Date: Fri, 8 May 2009 03:29:26 +0000 (+0000) Subject: this is now a bound method X-Git-Tag: v2.7a1~1245 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a9930db47c61529450a125bd47b39db4405fc7f;p=python this is now a bound method --- diff --git a/Objects/object.c b/Objects/object.c index 3a7619324d..08abe71cca 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); } }