prepare for PyCXX 7.0
This commit is contained in:
@@ -870,7 +870,7 @@ Py::Object UiLoaderPy::load(const Py::Tuple& args)
|
||||
}
|
||||
}
|
||||
else {
|
||||
throw Py::Exception("string or QIODevice expected");
|
||||
throw Py::TypeError("string or QIODevice expected");
|
||||
}
|
||||
}
|
||||
return Py::None();
|
||||
|
||||
Reference in New Issue
Block a user