xo-pyexpression: Expression.extype -> readonly property
This commit is contained in:
parent
a9deebaa90
commit
97c0613fee
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ namespace xo {
|
||||||
|
|
||||||
py::class_<Expression,
|
py::class_<Expression,
|
||||||
rp<Expression>>(m, "Expression")
|
rp<Expression>>(m, "Expression")
|
||||||
.def("extype", &Expression::extype)
|
.def_property_readonly("extype", &Expression::extype)
|
||||||
.def("__repr__", &Expression::display_string);
|
.def("__repr__", &Expression::display_string);
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue