mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
replace usage of Py_VA_COPY with the (C99) standard va_copy
This commit is contained in:
parent
ec2319c46d
commit
0c21214f3e
8 changed files with 11 additions and 71 deletions
|
@ -468,7 +468,7 @@ va_build_value(const char *format, va_list va, int flags)
|
|||
int n = countformat(f, '\0');
|
||||
va_list lva;
|
||||
|
||||
Py_VA_COPY(lva, va);
|
||||
va_copy(lva, va);
|
||||
|
||||
if (n < 0)
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue