diff options
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c index d8fc91e..9544b9a 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -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; |