]> granicus.if.org Git - python/commitdiff
This patch hopefully fixes the problem with "es#" and "es" in
authorMarc-André Lemburg <mal@egenix.com>
Fri, 8 Sep 2000 11:49:37 +0000 (11:49 +0000)
committerMarc-André Lemburg <mal@egenix.com>
Fri, 8 Sep 2000 11:49:37 +0000 (11:49 +0000)
PyArg_ParseTupleAndKeywords() and closes bug #113807.

Python/getargs.c

index 0823515989f8efa3177d966eac10e016aab28c56..3b73e410aeb161aac69e15cad64784c725533c00 100644 (file)
@@ -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 == '|')