Skip to content

Commit 3c66c45

Browse files
author
Ece Cinucen
committed
type hints: Correct type signature for QObject.inherits()
Pick-to: 6.8 Fixes: PYSIDE-3046 Change-Id: I0b33149fba73c41552fc9b4b131ba7b5ade302ec Reviewed-by: Christian Tismer <[email protected]>
1 parent 8c491f7 commit 3c66c45

File tree

1 file changed

+1
-0
lines changed
  • sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature

1 file changed

+1
-0
lines changed

sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/mapping.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ def init_PySide6_QtCore():
545545
# Here we manually set it to map to 'str'.
546546
type_map_tuple.update({("PySide6.QtCore.QObject.setProperty", "char*"): str})
547547
type_map_tuple.update({("PySide6.QtCore.QObject.property", "char*"): str})
548+
type_map_tuple.update({("PySide6.QtCore.QObject.inherits", "char*"): str})
548549

549550
return locals()
550551

0 commit comments

Comments
 (0)