summaryrefslogtreecommitdiffstats
path: root/Include/modsupport.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-06-13 14:24:19 (GMT)
committerGitHub <noreply@github.com>2022-06-13 14:24:19 (GMT)
commit65ac273280fa909f42dd78f3da634e6669e2b63d (patch)
tree220352ce5330a61444117a439b84bf3971eef8d5 /Include/modsupport.h
parent272bec4adfe80ca375b4b12b2c2479a0988bf069 (diff)
downloadcpython-65ac273280fa909f42dd78f3da634e6669e2b63d.zip
cpython-65ac273280fa909f42dd78f3da634e6669e2b63d.tar.gz
cpython-65ac273280fa909f42dd78f3da634e6669e2b63d.tar.bz2
Remove ANY_VARARGS() macro from the C API (#93764)
The macro was exposed by mistake.
Diffstat (limited to 'Include/modsupport.h')
-rw-r--r--Include/modsupport.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Include/modsupport.h b/Include/modsupport.h
index 0e96a5c..c42a3f1 100644
--- a/Include/modsupport.h
+++ b/Include/modsupport.h
@@ -37,8 +37,6 @@ PyAPI_FUNC(PyObject *) Py_BuildValue(const char *, ...);
PyAPI_FUNC(PyObject *) _Py_BuildValue_SizeT(const char *, ...);
-#define ANY_VARARGS(n) (n == PY_SSIZE_T_MAX)
-
PyAPI_FUNC(PyObject *) Py_VaBuildValue(const char *, va_list);
// Add an attribute with name 'name' and value 'obj' to the module 'mod.