Remove / rename DeckItem::size()

This commit is contained in:
Joakim Hove
2019-11-16 12:23:00 +01:00
parent da625838b6
commit 6dbbc8c037
59 changed files with 155 additions and 192 deletions

View File

@@ -185,7 +185,7 @@ void python::common::export_DeckKeyword(py::module& module) {
py::class_< DeckItem >(module, "DeckItem")
.def( "__len__", &DeckItem::size )
.def( "__len__", &DeckItem::data_size )
.def("get_str", &DeckItem::get<std::string>)
.def("get_int", &DeckItem::get<int>)
.def("get_raw", &DeckItem::get<double>)