mirror of
https://github.com/python/cpython.git
synced 2026-03-06 13:00:50 +00:00
bpo-23927: Make getargs.c skipitem() skipping 'w*'. (GH-8192)
(cherry picked from commit 504373c59b)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
parent
d68cb9d62c
commit
ec7562068f
3 changed files with 37 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue