diff Python/getargs.c @ 57548:5c681ecc9967

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 10:59:46 +0000
parents 0f9e8d3ecac3
children 78ca69cfc897
line wrap: on
line diff
--- a/Python/getargs.c	Thu Dec 03 03:01:27 2009 +0000
+++ b/Python/getargs.c	Thu Dec 03 10:59:46 2009 +0000
@@ -1772,6 +1772,7 @@
 	case 'd': /* double */
 	case 'D': /* complex double */
 	case 'c': /* char */
+	case 'C': /* unicode char */
 		{
 			(void) va_arg(*p_va, void *);
 			break;