We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6fe69e commit 346b84fCopy full SHA for 346b84f
include/pybind11/pybind11.h
@@ -580,8 +580,7 @@ class cpp_function : public function {
580
size_t args_size = n_args_in - args_copied;
581
extra_args = tuple(args_size);
582
for (size_t i = 0; i < args_size; ++i) {
583
- handle item = PyTuple_GET_ITEM(args_in, args_copied + i);
584
- extra_args[i] = reinterpret_borrow<object>(item);
+ extra_args[i] = PyTuple_GET_ITEM(args_in, args_copied + i);
585
}
586
587
call.args.push_back(extra_args);
0 commit comments