summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-01-26 20:44:30 (GMT)
committerGuido van Rossum <guido@python.org>1996-01-26 20:44:30 (GMT)
commitc96ef6ab9e6282aabd53527c0c603115319e85ed (patch)
tree1c8bb25a058b81a8f98f7fe670e86425e38bd673
parentfaa436c70bfd3279c2b2391f7f2a3069984dd48a (diff)
downloadcpython-c96ef6ab9e6282aabd53527c0c603115319e85ed.zip
cpython-c96ef6ab9e6282aabd53527c0c603115319e85ed.tar.gz
cpython-c96ef6ab9e6282aabd53527c0c603115319e85ed.tar.bz2
properly initialize optional arguments to apply()
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
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;