summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2012-05-08 10:51:18 (GMT)
committerLarry Hastings <larry@hastings.org>2012-05-08 10:51:18 (GMT)
commitd9e4a414d7bb634f1f946ff9052ece05d17109bb (patch)
tree6fe1da17bf40cf9190d36902e6cd4fffd7506cf9 /Python
parent3b66623a294af464b88da25bdbc9057ce82d0ccf (diff)
downloadcpython-d9e4a414d7bb634f1f946ff9052ece05d17109bb.zip
cpython-d9e4a414d7bb634f1f946ff9052ece05d17109bb.tar.gz
cpython-d9e4a414d7bb634f1f946ff9052ece05d17109bb.tar.bz2
Issue #14749: Add support for 'Z' to skipitem() in Python/getargs.c.
Diffstat (limited to 'Python')
-rw-r--r--Python/getargs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/getargs.c b/Python/getargs.c
index 600941d..0069671 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 **);