diff Python/getargs.c @ 57549:b60f2b2b9c04 3.1

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. ........
author Mark Dickinson <dickinsm@gmail.com>
date Thu, 03 Dec 2009 11:01:53 +0000
parents 5095a5276d8c
children f197407bdba2
line wrap: on
line diff
--- a/Python/getargs.c	Wed Dec 02 17:59:45 2009 +0000
+++ b/Python/getargs.c	Thu Dec 03 11:01:53 2009 +0000
@@ -1776,6 +1776,7 @@
 	case 'D': /* complex double */
 #endif
 	case 'c': /* char */
+	case 'C': /* unicode char */
 		{
 			(void) va_arg(*p_va, void *);
 			break;