Simplify repr() function
This commit is contained in:
@@ -71,8 +71,7 @@ ProgressIndicatorPy::~ProgressIndicatorPy() = default;
|
||||
|
||||
Py::Object ProgressIndicatorPy::repr()
|
||||
{
|
||||
std::string s = "Base.ProgressIndicator";
|
||||
return Py::String(s); // NOLINT
|
||||
return Py::String("Base.ProgressIndicator");
|
||||
}
|
||||
|
||||
Py::Object ProgressIndicatorPy::start(const Py::Tuple& args)
|
||||
|
||||
Reference in New Issue
Block a user