mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-13 09:03:54 +00:00
0a0758ce3a
py::class_<T>'s `def_property` and `def_property_static` can now take a `nullptr` as the getter to allow a write-only property to be established (mirroring Python's `property()` built-in when `None` is given for the getter). This also updates properties to use the new nullptr constructor internally. |
||
---|---|---|
.. | ||
pybind11 |