commit | dfede31c7f52f91195f3e9a6cf7c103e23e63d50 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Oct 02 14:06:56 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Oct 02 14:06:56 1998 +0000 |
tree | c7527265412841a63c73b8c16fd487d5767bebc1 | |
parent | 29d38cd08861a8fc458a8f842a8a7077786f5154 [diff] |
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 ef88eda..9871b0f 100644 --- a/Python/compile.c +++ b/Python/compile.c
@@ -2724,7 +2724,7 @@ /* 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;