replace usage of Py_VA_COPY with the (C99) standard va_copy

This commit is contained in:
Benjamin Peterson 2016-09-20 20:39:33 -07:00
parent ec2319c46d
commit 0c21214f3e
8 changed files with 11 additions and 71 deletions

View file

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