Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 224205f commit da13696Copy full SHA for da13696
1 file changed
Objects/object.c
@@ -484,7 +484,7 @@ PyObject_Bytes(PyObject *v)
484
485
func = _PyObject_LookupSpecial(v, "__bytes__", &bytesstring);
486
if (func != NULL) {
487
- result = PyObject_CallFunctionObjArgs(func, v, NULL);
+ result = PyObject_CallFunctionObjArgs(func, NULL);
488
Py_DECREF(func);
489
if (result == NULL)
490
return NULL;
0 commit comments