diff options
| author | Ece Cinucen <ece.cinucen@qt.io> | 2025-02-25 14:14:06 +0100 |
|---|---|---|
| committer | Ece Cinucen <ece.cinucen@qt.io> | 2025-02-26 08:23:58 +0000 |
| commit | 34b812b6495681d088ce3294a709f25085f6ed87 (patch) | |
| tree | f22ae27211edf7247d25d4286202557cb98fed7b /sources/pyside6 | |
| parent | b6952b833e1ec336607fd909320d35c5ca74a2a5 (diff) | |
type hints: Fix Slot() type annotation
The restricting type annotation for call function in Slot class is updated to more flexible one.
Pick-to: 6.8
Task-number: PYSIDE-2846
Change-Id: Ic26ebb42bb6bfe4f4d0455125ac92b3552c62d06
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6')
| -rw-r--r-- | sources/pyside6/libpyside/pysideslot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/libpyside/pysideslot.cpp b/sources/pyside6/libpyside/pysideslot.cpp index 5232b4e4c..135f83b1e 100644 --- a/sources/pyside6/libpyside/pysideslot.cpp +++ b/sources/pyside6/libpyside/pysideslot.cpp @@ -168,7 +168,7 @@ DataList *dataListFromCapsule(PyObject *capsule) static const char *Slot_SignatureStrings[] = { "PySide6.QtCore.Slot(self,*types:type,name:str=nullptr,result:type=nullptr)", - "PySide6.QtCore.Slot.__call__(self,function:typing.Callable[[typing.Any],typing.Any])->typing.Any", + "PySide6.QtCore.Slot.__call__(self,function:typing.Callable[...,typing.Any])->typing.Any", nullptr}; // Sentinel void init(PyObject *module) |
