mirror of
https://github.com/python/cpython.git
synced 2025-07-19 09:15:34 +00:00
properly initialize optional arguments to apply()
This commit is contained in:
parent
faa436c70b
commit
c96ef6ab9e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue