diff options
author | Guido van Rossum <guido@python.org> | 1998-10-02 14:06:56 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-10-02 14:06:56 (GMT) |
commit | dfede31c7f52f91195f3e9a6cf7c103e23e63d50 (patch) | |
tree | c7527265412841a63c73b8c16fd487d5767bebc1 /Python/compile.c | |
parent | 29d38cd08861a8fc458a8f842a8a7077786f5154 (diff) | |
download | cpython-dfede31c7f52f91195f3e9a6cf7c103e23e63d50.zip cpython-dfede31c7f52f91195f3e9a6cf7c103e23e63d50.tar.gz cpython-dfede31c7f52f91195f3e9a6cf7c103e23e63d50.tar.bz2 |
Eh, better error message for the previous change. It now says
"non-default argument follows default argument".
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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; |