mirror of https://github.com/python/cpython
Merge from 3.2. Issue #14749: Add support for 'Z' to skipitem().
This commit is contained in:
commit
d3f424fe45
|
@ -1657,6 +1657,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