diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2018-07-11 17:41:43 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-11 17:41:43 +0300 |
| commit | 504373c59b48f1ea12132d515459022730db6047 (patch) | |
| tree | 322726bb6a2abfc2a6422e9c947db4c6d7b1cfde /Python | |
| parent | b91a3a0d61596cafb1b46c98fab65fee16a8bbbb (diff) | |
| download | cpython-git-504373c59b48f1ea12132d515459022730db6047.tar.gz | |
bpo-23927: Make getargs.c skipitem() skipping 'w*'. (GH-8192)
Diffstat (limited to 'Python')
| -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 97c1fe8f4c..992cb216c2 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; |
