diff options
| author | Ece Cinucen <ece.cinucen@qt.io> | 2025-04-03 09:47:52 +0200 |
|---|---|---|
| committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2025-04-03 16:15:59 +0000 |
| commit | 9a49e11f6d33e8bf40b232aad339238633dbd361 (patch) | |
| tree | bc66ef9ed1d121934b2f8516e0ee79f8142d0936 /sources/pyside6/libpyside/pysideproperty.cpp | |
| parent | 1e1c058c48812b580695cb9e4d36cc72f05d8522 (diff) | |
type hints: Correct type signature for Property class
Task-number: PYSIDE-3012
Change-Id: I720dd730f6dd28ae33a6019494b7b67b8f704a10
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
(cherry picked from commit d98400c1c7031e10e7cd03d9f2d2eb296563df67)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 7cb4578076f75c728fbd28ff46e90135fb22ab1b)
Diffstat (limited to 'sources/pyside6/libpyside/pysideproperty.cpp')
| -rw-r--r-- | sources/pyside6/libpyside/pysideproperty.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sources/pyside6/libpyside/pysideproperty.cpp b/sources/pyside6/libpyside/pysideproperty.cpp index 84d6be2d2..db6795fb7 100644 --- a/sources/pyside6/libpyside/pysideproperty.cpp +++ b/sources/pyside6/libpyside/pysideproperty.cpp @@ -471,11 +471,11 @@ namespace PySide::Property { static const char *Property_SignatureStrings[] = { "PySide6.QtCore.Property(self,type:type," - "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]]," + "fget:typing.Optional[collections.abc.Callable[[typing.Any],typing.Any]]=None," + "fset:typing.Optional[collections.abc.Callable[[typing.Any,typing.Any],None]]=None," + "freset:typing.Optional[collections.abc.Callable[[typing.Any,typing.Any],None]]=None," "doc:str=None," - "notify:typing.Optional[collections.abc.Callable[[],None]]," + "notify:typing.Optional[collections.abc.Callable[[],None]]=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:collections.abc.Callable[[typing.Any],None])->PySide6.QtCore.Property", |
