Issue #18711: Add a new PyErr_FormatV function, similar to PyErr_Format but accepting a va_list argument.

This commit is contained in:
Antoine Pitrou 2014-09-30 21:16:27 +02:00
parent 63860e5407
commit 0676a406bf
7 changed files with 39 additions and 10 deletions

View file

@ -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)``.