diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-12-03 10:59:46 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-12-03 10:59:46 (GMT) |
commit | f08173bb939f3d45594cb674acb092af9cf23747 (patch) | |
tree | cd7990cb5364dcb19c0c46baa8ac042978dd29ba /Python/getargs.c | |
parent | 05159c4a7b37403613772a0883bd927bb57e8060 (diff) | |
download | cpython-f08173bb939f3d45594cb674acb092af9cf23747.zip cpython-f08173bb939f3d45594cb674acb092af9cf23747.tar.gz cpython-f08173bb939f3d45594cb674acb092af9cf23747.tar.bz2 |
Issue #7414: Add missing 'case 'C'' to skipitem() in getargs.c. This
was causing PyArg_ParseTupleAndKeywords(args, kwargs, "|CC", ...) to
fail with a RuntimeError. Thanks Case Van Horsen for tracking down
the source of this error.
Diffstat (limited to 'Python/getargs.c')
-rw-r--r-- | Python/getargs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/getargs.c b/Python/getargs.c index f41cd05..b69aaed 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -1772,6 +1772,7 @@ skipitem(const char **p_format, va_list *p_va, int flags) case 'd': /* double */ case 'D': /* complex double */ case 'c': /* char */ + case 'C': /* unicode char */ { (void) va_arg(*p_va, void *); break; |