diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-05-08 03:27:59 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-05-08 03:27:59 (GMT) |
commit | da136967e9a0d1e742865007b5e1fdc051dbc959 (patch) | |
tree | b5a2713cd2f52e7c6fa3859448cf6aca3c64b25f /Objects/object.c | |
parent | 224205fde2af8fdbbd11de0b219880df9a0edabd (diff) | |
download | cpython-da136967e9a0d1e742865007b5e1fdc051dbc959.zip cpython-da136967e9a0d1e742865007b5e1fdc051dbc959.tar.gz cpython-da136967e9a0d1e742865007b5e1fdc051dbc959.tar.bz2 |
this is now a bound method
Diffstat (limited to 'Objects/object.c')
-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; |