mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-13 09:03:54 +00:00
style: pre-commit fixes
This commit is contained in:
parent
4aaf8bb35f
commit
ce5e7be7f8
@ -330,7 +330,8 @@ TEST_SUBMODULE(kwargs_and_defaults, m) {
|
|||||||
class KWArgsSubclass : public py::kwargs {
|
class KWArgsSubclass : public py::kwargs {
|
||||||
using py::kwargs::kwargs;
|
using py::kwargs::kwargs;
|
||||||
};
|
};
|
||||||
m.def("args_kwargs_subclass_function", [](const ArgsSubclass &args, const KWArgsSubclass &kwargs) {
|
m.def("args_kwargs_subclass_function",
|
||||||
|
[](const ArgsSubclass &args, const KWArgsSubclass &kwargs) {
|
||||||
return py::make_tuple(args, kwargs);
|
return py::make_tuple(args, kwargs);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user