commit | c96ef6ab9e6282aabd53527c0c603115319e85ed | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Jan 26 20:44:30 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Jan 26 20:44:30 1996 +0000 |
tree | 1c8bb25a058b81a8f98f7fe670e86425e38bd673 | |
parent | faa436c70bfd3279c2b2391f7f2a3069984dd48a [diff] [blame] |
properly initialize optional arguments to apply()
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index dca31ac..9f528de 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c
@@ -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;