Skip to content

Commit

Permalink
Use default argument value to ConvertPyError
Browse files Browse the repository at this point in the history
  • Loading branch information
pitrou authored and kszucs committed Feb 18, 2019
1 parent f82da93 commit 470a673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/python/deserialize.cc
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Status DeserializeDict(PyObject* context, const Array& array, int64_t start_idx,
int ret = PyDict_SetItem(result.obj(), PyList_GET_ITEM(keys.obj(), i - start_idx),
PyList_GET_ITEM(vals.obj(), i - start_idx));
if (ret != 0) {
return ConvertPyError(StatusCode::PythonError);
return ConvertPyError();
}
}
static PyObject* py_type = PyUnicode_FromString("_pytype_");
Expand Down

0 comments on commit 470a673

Please sign in to comment.