summaryrefslogtreecommitdiff
path: root/Include/pyerrors.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-11-19 13:21:40 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2014-11-19 13:21:40 +0200
commit85b9913a629aeca8d6e0f73914256388e1dc990d (patch)
treeb713e8ce01d0ea91577f6b99fc07a4adef530b74 /Include/pyerrors.h
parentb7e0aac1f6321737260bf5d97de2ac8d9f7a07bd (diff)
parent1c3ea5b2f4f3ad22611998a6fa7636c8b3e8fbd9 (diff)
downloadcpython-85b9913a629aeca8d6e0f73914256388e1dc990d.tar.gz
Issue #20736: testSendmsgDontWait in test_socket no longer skipped on Linux.
Patch by David Watson.
Diffstat (limited to 'Include/pyerrors.h')
-rw-r--r--Include/pyerrors.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
index 02f65d6603..65b09f02de 100644
--- a/Include/pyerrors.h
+++ b/Include/pyerrors.h
@@ -244,6 +244,12 @@ PyAPI_FUNC(PyObject *) PyErr_Format(
const char *format, /* ASCII-encoded string */
...
);
+#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03050000
+PyAPI_FUNC(PyObject *) PyErr_FormatV(
+ PyObject *exception,
+ const char *format,
+ va_list vargs);
+#endif
#ifdef MS_WINDOWS
PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithFilename(