From: Guido van Rossum Date: Fri, 2 Oct 1998 14:06:56 +0000 (+0000) Subject: Eh, better error message for the previous change. It now says X-Git-Tag: v1.5.2a2~178 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dfede31c7f52f91195f3e9a6cf7c103e23e63d50;p=thirdparty%2FPython%2Fcpython.git Eh, better error message for the previous change. It now says "non-default argument follows default argument". --- diff --git a/Python/compile.c b/Python/compile.c index ef88eda20aa1..9871b0ff03de 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -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;