summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2000-09-08 11:49:37 +0000
committerMarc-André Lemburg <mal@egenix.com>2000-09-08 11:49:37 +0000
commitbbcf2a7c810cf9ff8bbd7164e246e56dfdd7779c (patch)
treecea63fe73a08e8df89425137a53b22b78f20075e
parent93e5d54bfd1290468e127f9bd436a4409704321a (diff)
downloadcpython-git-bbcf2a7c810cf9ff8bbd7164e246e56dfdd7779c.tar.gz
This patch hopefully fixes the problem with "es#" and "es" in
PyArg_ParseTupleAndKeywords() and closes bug #113807.
-rw-r--r--Python/getargs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/getargs.c b/Python/getargs.c
index 0823515989..3b73e410ae 100644
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -967,6 +967,8 @@ vgetargskeywords(PyObject *args, PyObject *keywords, char *format,
message = format;
break;
}
+ else if (c == 'e')
+ ; /* Pass */
else if (isalpha(c))
max++;
else if (c == '|')