aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6')
-rw-r--r--sources/pyside6/libpyside/class_property.cpp12
-rw-r--r--sources/pyside6/libpyside/pysideproperty.cpp20
-rw-r--r--sources/pyside6/libpyside/pysideslot.cpp2
-rw-r--r--sources/pyside6/libpysideqml/pysideqmllistproperty.cpp8
4 files changed, 21 insertions, 21 deletions
diff --git a/sources/pyside6/libpyside/class_property.cpp b/sources/pyside6/libpyside/class_property.cpp
index 9be7dccb0..cebbd14ca 100644
--- a/sources/pyside6/libpyside/class_property.cpp
+++ b/sources/pyside6/libpyside/class_property.cpp
@@ -153,13 +153,13 @@ namespace PySide::ClassProperty {
static const char *PyClassProperty_SignatureStrings[] = {
"PySide6.QtCore.PyClassProperty(cls,"
- "fget:typing.Optional[typing.Callable[[typing.Any],typing.Any]]=None,"
- "fset:typing.Optional[typing.Callable[[typing.Any,typing.Any],None]]=None,"
- "fdel:typing.Optional[typing.Callable[[typing.Any],None]]=None,"
+ "fget:typing.Optional[collections.abc.Callable[[typing.Any],typing.Any]]=None,"
+ "fset:typing.Optional[collections.abc.Callable[[typing.Any,typing.Any],None]]=None,"
+ "fdel:typing.Optional[collections.abc.Callable[[typing.Any],None]]=None,"
"doc:typing.Optional[str]=None)",
- "PySide6.QtCore.PyClassProperty.getter(cls,fget:typing.Callable[[typing.Any],typing.Any])->PySide6.QtCore.PyClassProperty",
- "PySide6.QtCore.PyClassProperty.setter(cls,fset:typing.Callable[[typing.Any,typing.Any],None])->PySide6.QtCore.PyClassProperty",
- "PySide6.QtCore.PyClassProperty.deleter(cls,fdel:typing.Callable[[typing.Any],None])->PySide6.QtCore.PyClassProperty",
+ "PySide6.QtCore.PyClassProperty.getter(cls,fget:collections.abc.Callable[[typing.Any],typing.Any])->PySide6.QtCore.PyClassProperty",
+ "PySide6.QtCore.PyClassProperty.setter(cls,fset:collections.abc.Callable[[typing.Any,typing.Any],None])->PySide6.QtCore.PyClassProperty",
+ "PySide6.QtCore.PyClassProperty.deleter(cls,fdel:collections.abc.Callable[[typing.Any],None])->PySide6.QtCore.PyClassProperty",
nullptr}; // Sentinel
void init(PyObject *module)
diff --git a/sources/pyside6/libpyside/pysideproperty.cpp b/sources/pyside6/libpyside/pysideproperty.cpp
index 7c0400051..84d6be2d2 100644
--- a/sources/pyside6/libpyside/pysideproperty.cpp
+++ b/sources/pyside6/libpyside/pysideproperty.cpp
@@ -471,19 +471,19 @@ namespace PySide::Property {
static const char *Property_SignatureStrings[] = {
"PySide6.QtCore.Property(self,type:type,"
- "fget:typing.Optional[typing.Callable[[typing.Any],typing.Any]],"
- "fset:typing.Optional[typing.Callable[[typing.Any,typing.Any],None]],"
- "freset:typing.Optional[typing.Callable[[typing.Any,typing.Any],None]],"
+ "fget:typing.Optional[collections.abc.Callable[[typing.Any],typing.Any]],"
+ "fset:typing.Optional[collections.abc.Callable[[typing.Any,typing.Any],None]],"
+ "freset:typing.Optional[collections.abc.Callable[[typing.Any,typing.Any],None]],"
"doc:str=None,"
- "notify:typing.Optional[typing.Callable[[],None]],"
+ "notify:typing.Optional[collections.abc.Callable[[],None]],"
"designable:bool=True,scriptable:bool=True,"
"stored:bool=True,user:bool=False,constant:bool=False,final:bool=False)",
- "PySide6.QtCore.Property.deleter(self,fdel:typing.Callable[[typing.Any],None])->PySide6.QtCore.Property",
- "PySide6.QtCore.Property.getter(self,fget:typing.Callable[[typing.Any],typing.Any])->PySide6.QtCore.Property",
- "PySide6.QtCore.Property.read(self,fget:typing.Callable[[typing.Any],typing.Any])->PySide6.QtCore.Property",
- "PySide6.QtCore.Property.setter(self,fset:typing.Callable[[typing.Any,typing.Any],None])->PySide6.QtCore.Property",
- "PySide6.QtCore.Property.write(self,fset:typing.Callable[[typing.Any,typing.Any],None])->PySide6.QtCore.Property",
- "PySide6.QtCore.Property.__call__(self, func:typing.Callable[...,typing.Any])->PySide6.QtCore.Property",
+ "PySide6.QtCore.Property.deleter(self,fdel:collections.abc.Callable[[typing.Any],None])->PySide6.QtCore.Property",
+ "PySide6.QtCore.Property.getter(self,fget:collections.abc.Callable[[typing.Any],typing.Any])->PySide6.QtCore.Property",
+ "PySide6.QtCore.Property.read(self,fget:collections.abc.Callable[[typing.Any],typing.Any])->PySide6.QtCore.Property",
+ "PySide6.QtCore.Property.setter(self,fset:collections.abc.Callable[[typing.Any,typing.Any],None])->PySide6.QtCore.Property",
+ "PySide6.QtCore.Property.write(self,fset:collections.abc.Callable[[typing.Any,typing.Any],None])->PySide6.QtCore.Property",
+ "PySide6.QtCore.Property.__call__(self, func:collections.abc.Callable[...,typing.Any])->PySide6.QtCore.Property",
nullptr}; // Sentinel
void init(PyObject *module)
diff --git a/sources/pyside6/libpyside/pysideslot.cpp b/sources/pyside6/libpyside/pysideslot.cpp
index 135f83b1e..eddbf3a93 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",
+ "PySide6.QtCore.Slot.__call__(self,function:collections.abc.Callable[...,typing.Any])->typing.Any",
nullptr}; // Sentinel
void init(PyObject *module)
diff --git a/sources/pyside6/libpysideqml/pysideqmllistproperty.cpp b/sources/pyside6/libpysideqml/pysideqmllistproperty.cpp
index 447d16564..591e36683 100644
--- a/sources/pyside6/libpysideqml/pysideqmllistproperty.cpp
+++ b/sources/pyside6/libpysideqml/pysideqmllistproperty.cpp
@@ -281,10 +281,10 @@ void QmlListPropertyPrivate::metaCall(PyObject *source, QMetaObject::Call call,
static const char *PropertyList_SignatureStrings[] = {
"PySide6.QtQml.ListProperty(self,type:type,"
- "append:typing.Optional[typing.Callable[...,typing.Any]]=None,"
- "at:typing.Optional[typing.Callable[...,typing.Any]]=None,"
- "clear:typing.Optional[typing.Callable[...,typing.Any]]=None,"
- "count:typing.Optional[typing.Callable[...,typing.Any]]=None)",
+ "append:typing.Optional[collections.abc.Callable[...,typing.Any]]=None,"
+ "at:typing.Optional[collections.abc.Callable[...,typing.Any]]=None,"
+ "clear:typing.Optional[collections.abc.Callable[...,typing.Any]]=None,"
+ "count:typing.Optional[collections.abc.Callable[...,typing.Any]]=None)",
nullptr // Sentinel
};