summaryrefslogtreecommitdiffstats
path: root/Python/getargs.c
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2012-05-07 09:44:50 (GMT)
committerLarry Hastings <larry@hastings.org>2012-05-07 09:44:50 (GMT)
commit10ba07a39eadaedd74e291f9d8b6b7f5e5c8702f (patch)
tree3b6803c370f27494d8a595c87eb2f3a8c9570587 /Python/getargs.c
parentaeb562ee5f3cc2187dc305077ae06f30e385c9e1 (diff)
downloadcpython-10ba07a39eadaedd74e291f9d8b6b7f5e5c8702f.zip
cpython-10ba07a39eadaedd74e291f9d8b6b7f5e5c8702f.tar.gz
cpython-10ba07a39eadaedd74e291f9d8b6b7f5e5c8702f.tar.bz2
Issue #14705: Added support for the new 'p' format unit to skipitem().
Diffstat (limited to 'Python/getargs.c')
-rw-r--r--Python/getargs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/getargs.c b/Python/getargs.c
index 9e9695f..78b2328 100644
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -1629,6 +1629,7 @@ skipitem(const char **p_format, va_list *p_va, int flags)
case 'D': /* complex double */
case 'c': /* char */
case 'C': /* unicode char */
+ case 'p': /* boolean predicate */
{
(void) va_arg(*p_va, void *);
break;