mirror of
https://github.com/python/cpython.git
synced 2025-07-19 09:15:34 +00:00
Merged revisions 76646 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r76646 | mark.dickinson | 2009-12-03 10:59:46 +0000 (Thu, 03 Dec 2009) | 6 lines 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. ........
This commit is contained in:
parent
a9566d02a2
commit
d0ed0db574
3 changed files with 51 additions and 0 deletions
|
@ -1776,6 +1776,7 @@ skipitem(const char **p_format, va_list *p_va, int flags)
|
|||
case 'D': /* complex double */
|
||||
#endif
|
||||
case 'c': /* char */
|
||||
case 'C': /* unicode char */
|
||||
{
|
||||
(void) va_arg(*p_va, void *);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue