summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/compile.c2
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;