summaryrefslogtreecommitdiffstats
path: root/Objects/listobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-07-12 02:22:06 (GMT)
committerGuido van Rossum <guido@python.org>1995-07-12 02:22:06 (GMT)
commit1311e3ce73263854e3899d14cc636ccfa166eebf (patch)
treef266a6a8d552f9b340a46c2168683a08d9c7de38 /Objects/listobject.c
parentb89ab8c6d23378f6be75978050c1b41d838f6269 (diff)
downloadcpython-1311e3ce73263854e3899d14cc636ccfa166eebf.zip
cpython-1311e3ce73263854e3899d14cc636ccfa166eebf.tar.gz
cpython-1311e3ce73263854e3899d14cc636ccfa166eebf.tar.bz2
args to call_object must be tuple or NULL
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r--Objects/listobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index 44003bc..b3e3378 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -553,7 +553,7 @@ cmp(v, w)
return cmpobject(* (object **) v, * (object **) w);
/* Call the user-supplied comparison function */
- t = mkvalue("OO", * (object **) v, * (object **) w);
+ t = mkvalue("(OO)", * (object **) v, * (object **) w);
if (t == NULL)
return 0;
res = call_object(comparefunc, t);