[education/labplot] src/backend/script/python: format fix.
Alexander Semke <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 547095aaf52ae621a064305d6cb2cea8809415a2 by Alexander Semke.
Committed on 02/08/2026 at 10:04.
Pushed by asemke into branch 'master'.
format fix.
M +3 -3 src/backend/script/python/PythonScriptRuntime.cpp
M +1 -1 src/backend/script/python/PythonScriptRuntime.h
https://invent.kde.org/education/labplot/-/commit/547095aaf52ae621a064305d6cb2cea8809415a2
diff --git a/src/backend/script/python/PythonScriptRuntime.cpp b/src/backend/script/python/PythonScriptRuntime.cpp
index 99cc1b8abe..e01bbab828 100644
--- a/src/backend/script/python/PythonScriptRuntime.cpp
+++ b/src/backend/script/python/PythonScriptRuntime.cpp
@@ -1069,11 +1069,11 @@ QList<PylabplotMemberInfo> pylabplotClassMembersHelper(const QString& className)
// Clean up: remove self, type hints, arg__N placeholders
rawSig.remove(QStringLiteral("self, "));
rawSig.remove(QStringLiteral("self"));
- rawSig.remove(QRegularExpression(QStringLiteral(R"(arg__\d+)"))); // Remove arg__1, arg__2, etc
- rawSig.remove(QRegularExpression(QStringLiteral(R"(:\s*\w+)"))); // Remove type hints like ": int"
+ rawSig.remove(QRegularExpression(QStringLiteral(R"(arg__\d+)"))); // Remove arg__1, arg__2, etc
+ rawSig.remove(QRegularExpression(QStringLiteral(R"(:\s*\w+)"))); // Remove type hints like ": int"
rawSig.remove(QStringLiteral(", /"));
rawSig.remove(QStringLiteral("/"));
- rawSig.remove(QStringLiteral(", ,")); // Clean up double commas
+ rawSig.remove(QStringLiteral(", ,")); // Clean up double commas
info.signature = rawSig.simplified();
}
diff --git a/src/backend/script/python/PythonScriptRuntime.h b/src/backend/script/python/PythonScriptRuntime.h
index 92316145f5..04cfacdde8 100644
--- a/src/backend/script/python/PythonScriptRuntime.h
+++ b/src/backend/script/python/PythonScriptRuntime.h
@@ -27,7 +27,7 @@ public:
virtual bool cancel() override;
virtual bool exec(const QString&) override;
- // Static helper for code completion
+ // Static helpers for code completion
static QStringList getPylabplotSymbols();
static QString pyUnicodeToQString(PyObject*);