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

Function IsPyBinary

python/pyarrow/src/arrow/python/helpers.h:104–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102Result<PyObject*> UuidFromBytes(std::string_view bytes, PyObject* kwargs);
103
104inline bool IsPyBinary(PyObject* obj) {
105 return PyBytes_Check(obj) || PyByteArray_Check(obj) || PyMemoryView_Check(obj);
106}
107
108// \brief Convert a Python integer into a C integer
109// \param[in] obj A Python integer

Callers 1

VisitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected