commit | da136967e9a0d1e742865007b5e1fdc051dbc959 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Fri May 08 03:27:59 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Fri May 08 03:27:59 2009 +0000 |
tree | b5a2713cd2f52e7c6fa3859448cf6aca3c64b25f | |
parent | 224205fde2af8fdbbd11de0b219880df9a0edabd [diff] [blame] |
this is now a bound method
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 @@ 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;