diff options
Diffstat (limited to 'Python')
| -rw-r--r-- | Python/getargs.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/getargs.c b/Python/getargs.c index 9d1f0b2..544948b 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -1601,7 +1601,7 @@ vgetargskeywords(PyObject *args, PyObject *keywords, const char *format,  		}  	} -	if (!IS_END_OF_FORMAT(*format)) { +	if (!IS_END_OF_FORMAT(*format) && *format != '|') {  		PyErr_Format(PyExc_RuntimeError,  			"more argument specifiers than keyword list entries "  			"(remaining format:'%s')", format);  | 
