Mercurial > cpython-lru_cache-weakref
diff Python/bltinmodule.c @ 3365:f8ff28329971 legacy-trunk
properly initialize optional arguments to apply()
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 26 Jan 1996 20:44:30 +0000 |
| parents | 6098aaa8ae7f |
| children | 03c6c18325ea |
line wrap: on
line diff
--- a/Python/bltinmodule.c Fri Jan 26 18:59:07 1996 +0000 +++ b/Python/bltinmodule.c Fri Jan 26 20:44:30 1996 +0000 @@ -80,7 +80,7 @@ object *self; object *args; { - object *func, *alist, *kwdict = NULL; + object *func, *alist = NULL, *kwdict = NULL; if (!newgetargs(args, "O|OO:apply", &func, &alist, &kwdict)) return NULL;
