aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/libpyside/pysideslot.cpp
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2021-01-21 13:09:52 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-01-22 11:38:23 +0000
commitcc7504e0b9090f9d0782ef27a9a8ce74fc5df552 (patch)
tree2d902131c984324560ba9e8cbd429dd7a199dd8e /sources/pyside6/libpyside/pysideslot.cpp
parentfadc307586f2f762bb9d0907d2f458b39c5b5770 (diff)
signature: Provide fixes and improvements, Part 1
The signature module is modified again to be more correct when using the mypy application. This part splits some changes which occurred when working on Shiboken.Enum inheritance. There will be a number of follow-ups: - signatures for all shiboken types - test cases for signatures - signature support for different __feature__ selections Change-Id: Ifb0d92bf7641f2909ab950e3458b3c3c68c20dad Task-number: PYSIDE-510 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 123e27090e0ec4f8d32f301700c9ff9d1b49ba2a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'sources/pyside6/libpyside/pysideslot.cpp')
-rw-r--r--sources/pyside6/libpyside/pysideslot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/libpyside/pysideslot.cpp b/sources/pyside6/libpyside/pysideslot.cpp
index 850fee544..81f93c555 100644
--- a/sources/pyside6/libpyside/pysideslot.cpp
+++ b/sources/pyside6/libpyside/pysideslot.cpp
@@ -183,7 +183,7 @@ namespace PySide {
namespace Slot {
static const char *Slot_SignatureStrings[] = {
- "PySide6.QtCore.Slot(*types:type,name:str=nullptr,result:str=nullptr)->typing.Callable[...,typing.Optional[str]]",
+ "PySide6.QtCore.Slot(self,*types:type,name:str=nullptr,result:str=nullptr)->typing.Callable[...,typing.Optional[str]]",
nullptr}; // Sentinel
void init(PyObject *module)