Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEce Cinucen <ece.cinucen@qt.io>2025-04-03 09:47:52 +0200
committerEce Cinucen <ece.cinucen@qt.io>2025-04-03 09:56:11 +0200
commitd98400c1c7031e10e7cd03d9f2d2eb296563df67 (patch)
treec8b93db35909d94c5d48f7137cd6f4a0474968c8 /sources/pyside6/libpyside
parent53a6372be89b461b2c140fd3ea111c58fbc93638 (diff)
type hints: Correct type signature for Property class
Task-number: PYSIDE-3012 Pick-to: 6.8 6.9 Change-Id: I720dd730f6dd28ae33a6019494b7b67b8f704a10 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/libpyside')
-rw-r--r--sources/pyside6/libpyside/pysideproperty.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/sources/pyside6/libpyside/pysideproperty.cpp b/sources/pyside6/libpyside/pysideproperty.cpp
index 80f49c637..e8ea2fa03 100644
--- a/sources/pyside6/libpyside/pysideproperty.cpp
+++ b/sources/pyside6/libpyside/pysideproperty.cpp
@@ -475,11 +475,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",