diff options
author | Georg Brandl <georg@python.org> | 2012-04-24 17:16:24 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-04-24 17:16:24 (GMT) |
commit | f4095837a7a2b2e52e7879ad0a1b02ccaeed3384 (patch) | |
tree | 6162874e2255ec697ce73f463bfca07b0e31fb2a /Doc | |
parent | 4f2f3b6217a56680d425f4011502ba2f83cfd5af (diff) | |
download | cpython-f4095837a7a2b2e52e7879ad0a1b02ccaeed3384.zip cpython-f4095837a7a2b2e52e7879ad0a1b02ccaeed3384.tar.gz cpython-f4095837a7a2b2e52e7879ad0a1b02ccaeed3384.tar.bz2 |
Fix location of versionaddeds and empty lines.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/exceptions.rst | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst index 441dade..f181143 100644 --- a/Doc/c-api/exceptions.rst +++ b/Doc/c-api/exceptions.rst @@ -143,7 +143,7 @@ in various ways. There is a separate error indicator for each thread. 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) @@ -161,7 +161,7 @@ in various ways. There is a separate error indicator for each thread. 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) @@ -264,6 +264,7 @@ in various ways. There is a separate error indicator for each thread. 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 @@ -273,6 +274,7 @@ in various ways. There is a separate error indicator for each thread. .. 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 @@ -281,7 +283,7 @@ in various ways. There is a separate error indicator for each thread. 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) @@ -354,6 +356,7 @@ in various ways. There is a separate error indicator for each thread. .. versionadded:: 3.2 + .. c:function:: int PyErr_CheckSignals() .. index:: |