From c96ef6ab9e6282aabd53527c0c603115319e85ed Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 26 Jan 1996 20:44:30 +0000 Subject: properly initialize optional arguments to apply() --- Python/bltinmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ builtin_apply(self, args) 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; -- cgit v0.12