Commit dfede31c authored by Guido van Rossum's avatar Guido van Rossum

Eh, better error message for the previous change. It now says

"non-default argument follows default argument".
parent 29d38cd0
......@@ -2724,7 +2724,7 @@ com_argdefs(c, n)
/* Treat "(a=1, b)" as an error */
if (ndefs)
com_error(c, PyExc_SyntaxError,
"Missing parameter default value");
"non-default argument follows default argument");
}
if (t != COMMA)
break;
......
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