Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bbcf2a7

Browse files
committed
This patch hopefully fixes the problem with "es#" and "es" in
PyArg_ParseTupleAndKeywords() and closes bug #113807.
1 parent 93e5d54 commit bbcf2a7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Python/getargs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -967,6 +967,8 @@ vgetargskeywords(PyObject *args, PyObject *keywords, char *format,
967967
message = format;
968968
break;
969969
}
970+
else if (c == 'e')
971+
; /* Pass */
970972
else if (isalpha(c))
971973
max++;
972974
else if (c == '|')

0 commit comments

Comments
 (0)