summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-10-02 14:06:56 (GMT)
committerGuido van Rossum <guido@python.org>1998-10-02 14:06:56 (GMT)
commitdfede31c7f52f91195f3e9a6cf7c103e23e63d50 (patch)
treec7527265412841a63c73b8c16fd487d5767bebc1 /Python
parent29d38cd08861a8fc458a8f842a8a7077786f5154 (diff)
downloadcpython-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')
-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;