#include #include "hpy.h" #ifndef HPY_ABI_CPYTHON // for _h2py and _py2h # include "handles.h" #endif _HPy_HIDDEN HPy ctx_Tuple_FromArray(HPyContext *ctx, const HPy items[], HPy_ssize_t n) { PyObject *res = PyTuple_New(n); if (!res) return HPy_NULL; for(HPy_ssize_t i=0; i