Mercurial > cpython-lru_cache-weakref
diff Python/compile.c @ 9215:1995cdbe3384 legacy-trunk
Eh, better error message for the previous change. It now says
"non-default argument follows default argument".
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 02 Oct 1998 14:06:56 +0000 |
| parents | c259c3c4d0cc |
| children | 0a67db47e1d0 |
line wrap: on
line diff
--- a/Python/compile.c Fri Oct 02 13:41:54 1998 +0000 +++ b/Python/compile.c Fri Oct 02 14:06:56 1998 +0000 @@ -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;
