xo-pyexpression: Expression.extype -> readonly property

This commit is contained in:
Roland Conybeare 2024-06-14 16:23:21 -04:00
commit 97c0613fee

View file

@ -44,7 +44,7 @@ namespace xo {
py::class_<Expression,
rp<Expression>>(m, "Expression")
.def("extype", &Expression::extype)
.def_property_readonly("extype", &Expression::extype)
.def("__repr__", &Expression::display_string);
;