Kaydet (Commit) a1e7e628 authored tarafından Guido van Rossum's avatar Guido van Rossum

fix bug with missing default for last arg (discovered by Tommy Burnette)

üst befa14f1
......@@ -2139,7 +2139,8 @@ com_argdefs(c, n)
nargs++;
i++;
if (i >= nch)
break;
t = RPAR; /* Anything except EQUAL or COMMA */
else
t = TYPE(CHILD(n, i));
if (t == EQUAL) {
i++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment