state temporarily. Use :c:func:`PyErr_SetExcInfo` to restore or clear the
exception state.
-.. versionadded:: 3.3
+ .. versionadded:: 3.3
.. c:function:: void PyErr_SetExcInfo(PyObject *type, PyObject *value, PyObject *traceback)
state temporarily. Use :c:func:`PyErr_GetExcInfo` to read the exception
state.
-.. versionadded:: 3.3
+ .. versionadded:: 3.3
.. c:function:: void PyErr_SetString(PyObject *type, const char *message)
Similar to :c:func:`PyErr_SetFromWindowsErrWithFilename`, with an additional
parameter specifying the exception type to be raised. Availability: Windows.
+
.. c:function:: PyObject* PyErr_SetImportError(PyObject *msg, PyObject *name, PyObject *path)
This is a convenience function to raise :exc:`ImportError`. *msg* will be
.. versionadded:: 3.3
+
.. c:function:: void PyErr_SyntaxLocationEx(char *filename, int lineno, int col_offset)
Set file, line, and offset information for the current exception. If the
is a :exc:`SyntaxError`. *filename* is decoded from the filesystem encoding
(:func:`sys.getfilesystemencoding`).
-.. versionadded:: 3.2
+ .. versionadded:: 3.2
.. c:function:: void PyErr_SyntaxLocation(char *filename, int lineno)
.. versionadded:: 3.2
+
.. c:function:: int PyErr_CheckSignals()
.. index::