Searched refs:_PyBaseExceptionObject_cast (Results 1 – 1 of 1) sorted by relevance
197 _PyBaseExceptionObject_cast(PyObject *exc) in _PyBaseExceptionObject_cast() function382 PyBaseExceptionObject *base_self = _PyBaseExceptionObject_cast(self); in PyException_GetTraceback()391 return BaseException_set_tb(_PyBaseExceptionObject_cast(self), tb, NULL); in PyException_SetTraceback()397 PyObject *cause = _PyBaseExceptionObject_cast(self)->cause; in PyException_GetCause()406 PyBaseExceptionObject *base_self = _PyBaseExceptionObject_cast(self); in PyException_SetCause()414 PyObject *context = _PyBaseExceptionObject_cast(self)->context; in PyException_GetContext()423 Py_XSETREF(_PyBaseExceptionObject_cast(self)->context, context); in PyException_SetContext()