diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-07-11 14:41:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-11 14:41:43 (GMT) |
commit | 504373c59b48f1ea12132d515459022730db6047 (patch) | |
tree | 322726bb6a2abfc2a6422e9c947db4c6d7b1cfde /Python/getargs.c | |
parent | b91a3a0d61596cafb1b46c98fab65fee16a8bbbb (diff) | |
download | cpython-504373c59b48f1ea12132d515459022730db6047.zip cpython-504373c59b48f1ea12132d515459022730db6047.tar.gz cpython-504373c59b48f1ea12132d515459022730db6047.tar.bz2 |
bpo-23927: Make getargs.c skipitem() skipping 'w*'. (GH-8192)
Diffstat (limited to 'Python/getargs.c')
-rw-r--r-- | Python/getargs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Python/getargs.c b/Python/getargs.c index 97c1fe8..992cb21 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -2333,7 +2333,9 @@ skipitem(const char **p_format, va_list *p_va, int flags) (void) va_arg(*p_va, int *); } format++; - } else if ((c == 's' || c == 'z' || c == 'y') && *format == '*') { + } else if ((c == 's' || c == 'z' || c == 'y' || c == 'w') + && *format == '*') + { format++; } break; |