Issue #14749: Add support for 'Z' to skipitem() in Python/getargs.c.
authorLarry Hastings <larry@hastings.org>
Tue, 8 May 2012 10:51:18 +0000 (03:51 -0700)
committerLarry Hastings <larry@hastings.org>
Tue, 8 May 2012 10:51:18 +0000 (03:51 -0700)
Python/getargs.c

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