From dfede31c7f52f91195f3e9a6cf7c103e23e63d50 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 2 Oct 1998 14:06:56 +0000 Subject: [PATCH] Eh, better error message for the previous change. It now says "non-default argument follows default argument". --- Python/compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/compile.c b/Python/compile.c index ef88eda20a..9871b0ff03 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; -- 2.50.1