| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 92ae158 commit a961989
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -788,6 +788,17 @@ Exception Classes | |||
| 788 | 788 | Exception Objects | |
| 789 | 789 | ================= | |
| 790 | 790 | ||
| 791 | + .. c:function:: int PyExceptionInstance_Check(PyObject *op) | ||
| 792 | + | ||
| 793 | + Return true if *op* is an instance of :class:`BaseException`, false | ||
| 794 | + otherwise. This function always succeeds. | ||
| 795 | + | ||
| 796 | + | ||
| 797 | + .. c:macro:: PyExceptionInstance_Class(op) | ||
| 798 | + | ||
| 799 | + Equivalent to :c:func:`Py_TYPE(op) <Py_TYPE>`. | ||
| 800 | + | ||
| 801 | + | ||
| 791 | 802 | .. c:function:: PyObject* PyException_GetTraceback(PyObject *ex) | |
| 792 | 803 | ||
| 793 | 804 | Return the traceback associated with the exception as a new reference, as | |
| Back | FazBrowse Home | New Git URL |
0 commit comments