this is now a bound method

This commit is contained in:
Benjamin Peterson 2009-05-08 03:29:26 +00:00
parent 399e4c4f8f
commit 3a9930db47
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}