mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
this is now a bound method
This commit is contained in:
parent
399e4c4f8f
commit
3a9930db47
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue