Mercurial > cpython-lru_cache-weakref
diff Objects/listobject.c @ 2827:ff1faa4cc1df legacy-trunk
args to call_object must be tuple or NULL
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 12 Jul 1995 02:22:06 +0000 |
| parents | 425835b88099 |
| children | 011cfe7490eb |
line wrap: on
line diff
--- a/Objects/listobject.c Wed Jul 12 02:17:51 1995 +0000 +++ b/Objects/listobject.c Wed Jul 12 02:22:06 1995 +0000 @@ -553,7 +553,7 @@ 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);
