diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-07-11 10:10:40 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-11 10:10:40 -0700 |
| commit | ec7562068fd123969ab4d27e11f4070271c72e16 (patch) | |
| tree | f8e08e2bef87e14dbd96bb1850610ee01406102d /Python | |
| parent | d68cb9d62c3671dd9aee5cdecb02fcb3268dacf0 (diff) | |
| download | cpython-git-ec7562068fd123969ab4d27e11f4070271c72e16.tar.gz | |
bpo-23927: Make getargs.c skipitem() skipping 'w*'. (GH-8192)
(cherry picked from commit 504373c59b48f1ea12132d515459022730db6047)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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 4d27418a84..594b150dee 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -2281,7 +2281,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; |
