mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 21:25:13 +00:00
e07f75839d
This adds support for implicit conversions to bool from Python types with `__bool__` (Python 3) or `__nonzero__` (Python 2) attributes, and adds direct (i.e. non-converting) support for numpy bools. |
||
---|---|---|
.. | ||
pybind11 |