| 12995 | /* SaveResetException */ |
| 12996 | #if CYTHON_FAST_THREAD_STATE |
| 12997 | static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) { |
| 12998 | #if CYTHON_USE_EXC_INFO_STACK |
| 12999 | _PyErr_StackItem *exc_info = __Pyx_PyErr_GetTopmostException(tstate); |
| 13000 | *type = exc_info->exc_type; |
| 13001 | *value = exc_info->exc_value; |
| 13002 | *tb = exc_info->exc_traceback; |
| 13003 | #else |
| 13004 | *type = tstate->exc_type; |
| 13005 | *value = tstate->exc_value; |
| 13006 | *tb = tstate->exc_traceback; |
| 13007 | #endif |
| 13008 | Py_XINCREF(*type); |
| 13009 | Py_XINCREF(*value); |
| 13010 | Py_XINCREF(*tb); |
| 13011 | } |
| 13012 | static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) { |
| 13013 | PyObject *tmp_type, *tmp_value, *tmp_tb; |
| 13014 | #if CYTHON_USE_EXC_INFO_STACK |
nothing calls this directly
no test coverage detected