Searched refs:_PyBaseExceptionObject_cast (Results 1 – 1 of 1) sorted by relevance
313 _PyBaseExceptionObject_cast(PyObject *exc) in _PyBaseExceptionObject_cast() function323 PyBaseExceptionObject *base_self = _PyBaseExceptionObject_cast(self); in PyException_GetTraceback()332 return BaseException_set_tb(_PyBaseExceptionObject_cast(self), tb, NULL); in PyException_SetTraceback()338 PyObject *cause = _PyBaseExceptionObject_cast(self)->cause; in PyException_GetCause()347 PyBaseExceptionObject *base_self = _PyBaseExceptionObject_cast(self); in PyException_SetCause()355 PyObject *context = _PyBaseExceptionObject_cast(self)->context; in PyException_GetContext()364 Py_XSETREF(_PyBaseExceptionObject_cast(self)->context, context); in PyException_SetContext()