| 361 | } |
| 362 | |
| 363 | static Result<PyBytesView> FromBinary(PyObject* obj) { |
| 364 | PyBytesView self; |
| 365 | ARROW_RETURN_NOT_OK(self.ParseBinary(obj)); |
| 366 | return std::move(self); |
| 367 | } |
| 368 | |
| 369 | // View the given Python object as string-like, i.e. str or (utf8) bytes |
| 370 | Status ParseString(PyObject* obj, bool check_utf8 = false) { |
nothing calls this directly
no test coverage detected