MCPcopy Create free account
hub / github.com/apache/arrow / RestorePyError

Method RestorePyError

python/pyarrow/src/arrow/python/common.cc:105–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 }
104
105 void RestorePyError() const {
106 Py_INCREF(exc_type_.obj());
107 Py_INCREF(exc_value_.obj());
108 Py_INCREF(exc_traceback_.obj());
109 PyErr_Restore(exc_type_.obj(), exc_value_.obj(), exc_traceback_.obj());
110 }
111
112 PyObject* exc_type() const { return exc_type_.obj(); }
113

Callers 1

RestorePyErrorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected