mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
Issue #18711: Add a new PyErr_FormatV
function, similar to PyErr_Format
but accepting a va_list
argument.
This commit is contained in:
parent
63860e5407
commit
0676a406bf
7 changed files with 39 additions and 10 deletions
|
@ -242,6 +242,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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue