Skip to content

Commit

Permalink
pass all needed parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
gnufede committed Nov 29, 2024
1 parent 02a3493 commit aba458e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ api_modulo_aspect(PyObject* self, PyObject* const* args, const Py_ssize_t nargs)
}
py::tuple formatted_parameters(list_formatted_parameters);

PyObject* applied_params = do_modulo(StringToPyObject(fmttext, py_str_type).ptr(), formatted_parameters.ptr());
PyObject* applied_params = do_modulo(
StringToPyObject(fmttext, py_str_type).ptr(), formatted_parameters.ptr(),
StringToPyObject(fmttext, py_str_type), formatted_parameters
);
if (applied_params == nullptr) {
return get_result();
}
Expand Down

0 comments on commit aba458e

Please sign in to comment.