Simplify repr() function

This commit is contained in:
xtemp09
2025-08-15 18:25:45 +07:00
committed by Chris Hennes
parent c7aaff410b
commit f20c1a0102
15 changed files with 33 additions and 87 deletions

View File

@@ -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)