mirror of https://github.com/python/cpython
this is now a bound method
This commit is contained in:
parent
399e4c4f8f
commit
3a9930db47
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue