summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2005-03-30 16:41:55 (GMT)
committerMichael W. Hudson <mwh@python.net>2005-03-30 16:41:55 (GMT)
commit5253c30791c2fd73ba85ad11f629b5b021a0a9c4 (patch)
treefb7a6a6ca7c5e07248e26d21ddb5169fd0a70dbe /Python
parente2749cb264576d97533a85fba1396099606bc986 (diff)
downloadcpython-5253c30791c2fd73ba85ad11f629b5b021a0a9c4.zip
cpython-5253c30791c2fd73ba85ad11f629b5b021a0a9c4.tar.gz
cpython-5253c30791c2fd73ba85ad11f629b5b021a0a9c4.tar.bz2
I suppose a bug report or even a fix would be a better response, but
commit a yelp about a noted flaw the error messages for METH_KEYWORDS functions under some circumstances.
Diffstat (limited to 'Python')
-rw-r--r--Python/getargs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/getargs.c b/Python/getargs.c
index 48f9dc4..e89f0d5 100644
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -1299,7 +1299,8 @@ vgetargskeywords(PyObject *args, PyObject *keywords, char *format,
/* make sure we got an acceptable number of arguments; the message
is a little confusing with keywords since keyword arguments
which are supplied, but don't match the required arguments
- are not included in the "%d given" part of the message */
+ are not included in the "%d given" part of the message
+ XXX and this isn't a bug!? */
if (len < min || max < len) {
if (message == NULL) {
PyOS_snprintf(msgbuf, sizeof(msgbuf),