| 36 | namespace py { |
| 37 | |
| 38 | static Status UnwrapError(PyObject* obj, const char* expected_type) { |
| 39 | return Status::TypeError("Could not unwrap ", expected_type, |
| 40 | " from Python object of type '", Py_TYPE(obj)->tp_name, "'"); |
| 41 | } |
| 42 | |
| 43 | int import_pyarrow() { |
| 44 | #ifdef PYPY_VERSION |
nothing calls this directly
no test coverage detected