mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-19 09:25:51 +00:00
a01b6b805c
If a bound std::function is invoked with a bound method, the implicit bound self is lost because we use `detail::get_function` to unbox the function. This commit amends the code to use py::function and only unboxes in the special is-really-a-c-function case. This makes bound methods stay bound rather than unbinding them by forcing extraction of the c function. |
||
---|---|---|
.. | ||
pybind11 |