Skip to content

Commit

Permalink
Eh, better error message for the previous change. It now says
Browse files Browse the repository at this point in the history
"non-default argument follows default argument".
  • Loading branch information
gvanrossum committed Oct 2, 1998
1 parent 29d38cd commit dfede31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dfede31

Please sign in to comment.