some type clearification

This commit is contained in:
jriegel
2014-08-21 17:59:17 +02:00
parent 0e53a593db
commit d65a4e4ed7
6 changed files with 23 additions and 23 deletions

View File

@@ -89,7 +89,7 @@ std::string PropertyPythonObject::toString() const
Py::Callable method(pickle.getAttr(std::string("dumps")));
Py::Object dump;
if (this->object.hasAttr("__getstate__")) {
Py::Tuple args(0);
Py::Tuple args;
Py::Callable state(this->object.getAttr("__getstate__"));
dump = state.apply(args);
}