bpo-23927: Make getargs.c skipitem() skipping 'w*'. (GH-8192)

This commit is contained in:
Serhiy Storchaka 2018-07-11 17:41:43 +03:00 committed by GitHub
parent b91a3a0d61
commit 504373c59b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 1 deletions

View file

@ -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;