this is now a bound method
This commit is contained in:
parent
224205fde2
commit
da136967e9
|
@ -484,7 +484,7 @@ PyObject_Bytes(PyObject *v)
|
|||
|
||||
func = _PyObject_LookupSpecial(v, "__bytes__", &bytesstring);
|
||||
if (func != NULL) {
|
||||
result = PyObject_CallFunctionObjArgs(func, v, NULL);
|
||||
result = PyObject_CallFunctionObjArgs(func, NULL);
|
||||
Py_DECREF(func);
|
||||
if (result == NULL)
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue