Issue #14749: Add support for 'Z' to skipitem() in Python/getargs.c.

This commit is contained in:
Larry Hastings 2012-05-08 03:51:18 -07:00
parent 3b66623a29
commit d9e4a414d7
1 changed files with 1 additions and 0 deletions

View File

@ -1633,6 +1633,7 @@ skipitem(const char **p_format, va_list *p_va, int flags)
case 'z': /* string or None */ case 'z': /* string or None */
case 'y': /* bytes */ case 'y': /* bytes */
case 'u': /* unicode string */ case 'u': /* unicode string */
case 'Z': /* unicode string or None */
case 'w': /* buffer, read-write */ case 'w': /* buffer, read-write */
{ {
(void) va_arg(*p_va, char **); (void) va_arg(*p_va, char **);