[Python-checkins] r72464 - python/trunk/Objects/object.c

benjamin.peterson python-checkins at python.org
Fri May 8 05:29:26 CEST 2009


Author: benjamin.peterson
Date: Fri May  8 05:29:26 2009
New Revision: 72464

Log:
this is now a bound method

Modified:
   python/trunk/Objects/object.c

Modified: python/trunk/Objects/object.c
==============================================================================
--- python/trunk/Objects/object.c	(original)
+++ python/trunk/Objects/object.c	Fri May  8 05:29:26 2009
@@ -506,7 +506,7 @@
 		func = _PyObject_LookupSpecial(v, "__unicode__", &unicodestr);
 		if (func != NULL) {
 			unicode_method_found = 1;
-			res = PyObject_CallFunctionObjArgs(func, v, NULL);
+			res = PyObject_CallFunctionObjArgs(func, NULL);
 			Py_DECREF(func);
 		}
 	}


More information about the Python-checkins mailing list