mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 15:12:01 +00:00
865e43034b
This also adds the `hasattr` and `getattr` functions which are needed with the new attribute behavior. The new functions behave exactly like their Python counterparts. Similarly `object` gets a `contains` method which calls `__contains__`, i.e. it's the same as the `in` keyword in Python. |
||
---|---|---|
.. | ||
pybind11 |