Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f409583

Browse files
committed
Fix location of versionaddeds and empty lines.
1 parent 4f2f3b6 commit f409583

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

Doc/c-api/exceptions.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ in various ways. There is a separate error indicator for each thread.
143143
state temporarily. Use :c:func:`PyErr_SetExcInfo` to restore or clear the
144144
exception state.
145145
146-
.. versionadded:: 3.3
146+
.. versionadded:: 3.3
147147
148148
149149
.. 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.
161161
state temporarily. Use :c:func:`PyErr_GetExcInfo` to read the exception
162162
state.
163163
164-
.. versionadded:: 3.3
164+
.. versionadded:: 3.3
165165
166166
167167
.. 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.
264264
Similar to :c:func:`PyErr_SetFromWindowsErrWithFilename`, with an additional
265265
parameter specifying the exception type to be raised. Availability: Windows.
266266
267+
267268
.. c:function:: PyObject* PyErr_SetImportError(PyObject *msg, PyObject *name, PyObject *path)
268269
269270
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.
273274
274275
.. versionadded:: 3.3
275276
277+
276278
.. c:function:: void PyErr_SyntaxLocationEx(char *filename, int lineno, int col_offset)
277279
278280
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.
281283
is a :exc:`SyntaxError`. *filename* is decoded from the filesystem encoding
282284
(:func:`sys.getfilesystemencoding`).
283285
284-
.. versionadded:: 3.2
286+
.. versionadded:: 3.2
285287
286288
287289
.. 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.
354356
355357
.. versionadded:: 3.2
356358
359+
357360
.. c:function:: int PyErr_CheckSignals()
358361
359362
.. index::

0 commit comments

Comments
 (0)