Skip to content

Commit 20fb997

Browse files
committed
type hints: add explicit optional to setItemWidget
Change-Id: I9d14b23d9fe2e084ffdacd66560c84c8c0d54764 Fixes: PYSIDE-3042 Pick-to: 6.8 Reviewed-by: Ece Cinucen <[email protected]> Reviewed-by: Friedemann Kleint <[email protected]>
1 parent 30d5534 commit 20fb997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1957,7 +1957,7 @@
19571957
</modify-argument>
19581958
</modify-function>
19591959
<modify-function signature="setItemWidget(QListWidgetItem*,QWidget*)" allow-thread="yes">
1960-
<modify-argument index="2">
1960+
<modify-argument index="2" pyi-type="Optional[PySide6.QtWidgets.QWidget]">
19611961
<parent index="1" action="add"/>
19621962
</modify-argument>
19631963
</modify-function>

0 commit comments

Comments
 (0)