mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-13 09:03:54 +00:00
2819ce64a4
If the default argument value is a class, and not an instance of a class, `a.value.attr("__repr__")` raises a `ValueError`. Switching to `repr(a.value)` makes this use case work. Fixes #2028 |
||
---|---|---|
.. | ||
pybind11 |