test_methods_and_attributes.py
14.3 KB
-
Allow py::arg().none(false) argument attribute · 4e1e4a58
This attribute lets you disable (or explicitly enable) passing None to an argument that otherwise would allow it by accepting a value by raw pointer or shared_ptr.
Jason Rhinelander committed