Improve Python types.

This commit is contained in:
Erik Ogenvik 2018-10-15 17:40:08 +02:00
parent 3fe05cd2f3
commit bfc4e18b29
4 changed files with 162 additions and 20 deletions

View file

@ -107,7 +107,7 @@ Py::Object CyPy_RootEntity::getattro(const Py::String& name)
if (attr.isPtr()) {
return Py::Object((PyObject*) attr.Ptr());
}
return CyPy_Element::asPyObject(attr);
return CyPy_Element::asPyObject(attr, false);
}
}