| 205 | } |
| 206 | |
| 207 | void RestorePyError(const Status& status) { |
| 208 | ARROW_CHECK(IsPyError(status)); |
| 209 | const auto& detail = checked_cast<const PythonErrorDetail&>(*status.detail()); |
| 210 | detail.RestorePyError(); |
| 211 | } |
| 212 | |
| 213 | // ---------------------------------------------------------------------- |
| 214 | // PyBuffer |