mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
GH-93207: Remove HAVE_STDARG_PROTOTYPES configure check for stdarg.h (#93215)
This commit is contained in:
parent
ddc4a782d3
commit
cb04a09d2d
19 changed files with 9 additions and 171 deletions
|
@ -3816,11 +3816,7 @@ _PyErr_TrySetFromCause(const char *format, ...)
|
|||
Py_DECREF(tb);
|
||||
}
|
||||
|
||||
#ifdef HAVE_STDARG_PROTOTYPES
|
||||
va_start(vargs, format);
|
||||
#else
|
||||
va_start(vargs);
|
||||
#endif
|
||||
msg_prefix = PyUnicode_FromFormatV(format, vargs);
|
||||
va_end(vargs);
|
||||
if (msg_prefix == NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue