From 3a9930db47c61529450a125bd47b39db4405fc7f Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Fri, 8 May 2009 03:29:26 +0000 Subject: [PATCH] this is now a bound method --- Objects/object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.50.1