summaryrefslogtreecommitdiffstats
path: root/Python/getargs.c
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2000-09-08 11:49:37 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2000-09-08 11:49:37 (GMT)
commitbbcf2a7c810cf9ff8bbd7164e246e56dfdd7779c (patch)
treecea63fe73a08e8df89425137a53b22b78f20075e /Python/getargs.c
parent93e5d54bfd1290468e127f9bd436a4409704321a (diff)
downloadcpython-bbcf2a7c810cf9ff8bbd7164e246e56dfdd7779c.zip
cpython-bbcf2a7c810cf9ff8bbd7164e246e56dfdd7779c.tar.gz
cpython-bbcf2a7c810cf9ff8bbd7164e246e56dfdd7779c.tar.bz2
This patch hopefully fixes the problem with "es#" and "es" in
PyArg_ParseTupleAndKeywords() and closes bug #113807.
Diffstat (limited to 'Python/getargs.c')
-rw-r--r--Python/getargs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/getargs.c b/Python/getargs.c
index 0823515..3b73e41 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 == '|')