Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
04f354c9
Commit
04f354c9
authored
Apr 24, 2012
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix location of versionaddeds and empty lines.
parent
aaa30882
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
Doc/c-api/exceptions.rst
Doc/c-api/exceptions.rst
+6
-3
No files found.
Doc/c-api/exceptions.rst
View file @
04f354c9
...
@@ -143,7 +143,7 @@ in various ways. There is a separate error indicator for each thread.
...
@@ -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
state temporarily. Use :c:func:`PyErr_SetExcInfo` to restore or clear the
exception state.
exception state.
.. versionadded:: 3.3
.. versionadded:: 3.3
.. c:function:: void PyErr_SetExcInfo(PyObject *type, PyObject *value, PyObject *traceback)
.. 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.
...
@@ -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 temporarily. Use :c:func:`PyErr_GetExcInfo` to read the exception
state.
state.
.. versionadded:: 3.3
.. versionadded:: 3.3
.. c:function:: void PyErr_SetString(PyObject *type, const char *message)
.. 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.
...
@@ -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
Similar to :c:func:`PyErr_SetFromWindowsErrWithFilename`, with an additional
parameter specifying the exception type to be raised. Availability: Windows.
parameter specifying the exception type to be raised. Availability: Windows.
.. c:function:: PyObject* PyErr_SetImportError(PyObject *msg, PyObject *name, PyObject *path)
.. c:function:: PyObject* PyErr_SetImportError(PyObject *msg, PyObject *name, PyObject *path)
This is a convenience function to raise :exc:`ImportError`. *msg* will be
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.
...
@@ -273,6 +274,7 @@ in various ways. There is a separate error indicator for each thread.
.. versionadded:: 3.3
.. versionadded:: 3.3
.. c:function:: void PyErr_SyntaxLocationEx(char *filename, int lineno, int col_offset)
.. c:function:: void PyErr_SyntaxLocationEx(char *filename, int lineno, int col_offset)
Set file, line, and offset information for the current exception. If the
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.
...
@@ -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
is a :exc:`SyntaxError`. *filename* is decoded from the filesystem encoding
(:func:`sys.getfilesystemencoding`).
(:func:`sys.getfilesystemencoding`).
.. versionadded:: 3.2
.. versionadded:: 3.2
.. c:function:: void PyErr_SyntaxLocation(char *filename, int lineno)
.. 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.
...
@@ -354,6 +356,7 @@ in various ways. There is a separate error indicator for each thread.
.. versionadded:: 3.2
.. versionadded:: 3.2
.. c:function:: int PyErr_CheckSignals()
.. c:function:: int PyErr_CheckSignals()
.. index::
.. index::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment