Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2024-10-12 17:03:18 +0200
committerChristian Tismer <tismer@stackless.com>2024-10-17 15:09:21 +0200
commit7ee3fb7958d6384baf3d1bd4cfe4931cacfa77df (patch)
treec54580d70c03db917873db2fa717607e31bd541a /sources/pyside6/libpyside/pysideslot.cpp
parent9af99c2fd8ed6b8b8959b1b33717989d51555e3d (diff)
type hints: Fix typing.Callable to include parameters
All callables have now arguments. Task-number: PYSIDE-2846 Fixes: PYSIDE-2884 Change-Id: Ibf6b1d93350304550addbc459c1440bd5cefc057 Pick-to: 6.8 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
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 23e8068d6..0a448852e 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",
+ "PySide6.QtCore.Slot.__call__(self,function:typing.Callable[[typing.Any],typing.Any])->typing.Any",
nullptr}; // Sentinel
void init(PyObject *module)