mirror of https://github.com/python/cpython
Issue #14749: Add support for 'Z' to skipitem() in Python/getargs.c.
This commit is contained in:
parent
3b66623a29
commit
d9e4a414d7
|
@ -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 **);
|
||||||
|
|
Loading…
Reference in New Issue