diff Objects/object.c @ 53906:5420dae355f7

this is now a bound method
author Benjamin Peterson <benjamin@python.org>
date Fri, 08 May 2009 03:27:59 +0000
parents 2993f049e2c9
children 261f594014c6
line wrap: on
line diff
--- a/Objects/object.c	Fri May 08 03:25:19 2009 +0000
+++ b/Objects/object.c	Fri May 08 03:27:59 2009 +0000
@@ -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;