aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/libpysideqml/pysideqmlmetacallerror.cpp
diff options
context:
space:
mode:
authorEce Cinucen <ece.cinucen@qt.io>2025-08-28 10:43:25 +0200
committerEce Cinucen <ece.cinucen@qt.io>2025-08-28 09:14:39 +0000
commitc848161b35514e1ba631e4818645e9c91de8cb36 (patch)
tree2149518a260b0e0f96ef652a23b2d58e7d94489d /sources/pyside6/libpysideqml/pysideqmlmetacallerror.cpp
parentd7ec3c73ba8b1718bafcc8cacf483c69096622b2 (diff)
type hints: Correct the type annotation of the notify parameter in QtCore.Property
- The stub previously declared notify as Optional[Callable[[], None]], but at runtime notify must be a Signal (emitted when the property changes), never a Callable. - This caused errors in type checkers when passing a Signal to notify. - The annotation is now updated to Optional[Signal] Pick-to: 6.8 6.9 Fixes: PYSIDE-2308 Change-Id: Ie42e220c51dc0419524b9dc5696371f03c42cad9 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/libpysideqml/pysideqmlmetacallerror.cpp')
0 files changed, 0 insertions, 0 deletions