summaryrefslogtreecommitdiffstats
path: root/Modules/_asynciomodule.c
diff options
context:
space:
mode:
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>2022-05-27 11:30:45 (GMT)
committerGitHub <noreply@github.com>2022-05-27 11:30:45 (GMT)
commitcb04a09d2dfd197436a11de504b92773569e19fb (patch)
tree8aa6d8280d9dde5c2058ccd8461f81f207a1a090 /Modules/_asynciomodule.c
parentddc4a782d3f32efbc03c69ddd59b6fa10911bcd9 (diff)
downloadcpython-cb04a09d2dfd197436a11de504b92773569e19fb.zip
cpython-cb04a09d2dfd197436a11de504b92773569e19fb.tar.gz
cpython-cb04a09d2dfd197436a11de504b92773569e19fb.tar.bz2
GH-93207: Remove HAVE_STDARG_PROTOTYPES configure check for stdarg.h (#93215)
Diffstat (limited to 'Modules/_asynciomodule.c')
-rw-r--r--Modules/_asynciomodule.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/_asynciomodule.c b/Modules/_asynciomodule.c
index 5fa7223..c2b0e24 100644
--- a/Modules/_asynciomodule.c
+++ b/Modules/_asynciomodule.c
@@ -2643,11 +2643,7 @@ task_set_error_soon(TaskObj *task, PyObject *et, const char *format, ...)
PyObject* msg;
va_list vargs;
-#ifdef HAVE_STDARG_PROTOTYPES
va_start(vargs, format);
-#else
- va_start(vargs);
-#endif
msg = PyUnicode_FromFormatV(format, vargs);
va_end(vargs);