mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +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
|
@ -197,6 +197,14 @@ in various ways. There is a separate error indicator for each thread.
|
|||
string.
|
||||
|
||||
|
||||
.. c:function:: PyObject* PyErr_FormatV(PyObject *exception, const char *format, va_list vargs)
|
||||
|
||||
Same as :c:func:`PyErr_Format`, but taking a `va_list` argument rather
|
||||
than a variable number of arguments.
|
||||
|
||||
.. versionadded:: 3.5
|
||||
|
||||
|
||||
.. c:function:: void PyErr_SetNone(PyObject *type)
|
||||
|
||||
This is a shorthand for ``PyErr_SetObject(type, Py_None)``.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue