diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-05-08 03:29:26 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-05-08 03:29:26 (GMT) |
commit | 3a9930db47c61529450a125bd47b39db4405fc7f (patch) | |
tree | a284706a103b2430e095912339c728e97efb1576 /Objects | |
parent | 399e4c4f8f2570a342ac50e9500b12e86eb330a9 (diff) | |
download | cpython-3a9930db47c61529450a125bd47b39db4405fc7f.zip cpython-3a9930db47c61529450a125bd47b39db4405fc7f.tar.gz cpython-3a9930db47c61529450a125bd47b39db4405fc7f.tar.bz2 |
this is now a bound method
Diffstat (limited to 'Objects')
-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 3a76193..08abe71 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -506,7 +506,7 @@ PyObject_Unicode(PyObject *v) 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); } } |