summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-10-02 14:06:56 +0000
committerGuido van Rossum <guido@python.org>1998-10-02 14:06:56 +0000
commit9bac66e2446fbbcb44e8de1c19256984e9a0516f (patch)
treee09ffdd9f7488783d2fe04bbdc7b8bae2ba3a32c /Python/compile.c
parentef5c7ab7f23e874fb5ebaaf5bfb9fb96384be6ca (diff)
downloadcpython-9bac66e2446fbbcb44e8de1c19256984e9a0516f.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
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;