mirror of https://github.com/python/cpython
Fix location of versionaddeds and empty lines.
This commit is contained in:
parent
4f2f3b6217
commit
f4095837a7
|
@ -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
|
||||
|
@ -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::
|
||||
|
|
Loading…
Reference in New Issue