diff --git a/Python/getargs.c b/Python/getargs.c index 600941d9c7a..0069671d3c7 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -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 **);