Commit da136967 authored by Benjamin Peterson's avatar Benjamin Peterson

this is now a bound method

parent 224205fd
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment