mirror of
https://github.com/pybind/pybind11.git
synced 2026-06-06 05:39:53 +00:00
minor formatting fix
This commit is contained in:
@@ -126,11 +126,11 @@ void init_issues(py::module &m) {
|
||||
|
||||
auto call_f = [](A *a) { a->f(); };
|
||||
|
||||
pybind11::class_<A, std::unique_ptr<A>, PyA>(m2, "A")
|
||||
.def(py::init<>())
|
||||
.def("f", &A::f);
|
||||
pybind11::class_<A, std::unique_ptr<A>, PyA>(m2, "A")
|
||||
.def(py::init<>())
|
||||
.def("f", &A::f);
|
||||
|
||||
m2.def("call_f", call_f);
|
||||
m2.def("call_f", call_f);
|
||||
|
||||
try {
|
||||
py::class_<Placeholder>(m2, "Placeholder");
|
||||
|
||||
Reference in New Issue
Block a user