Details
-
Bug
-
Resolution: Done
-
P4: Low
-
None
-
6.3.1
-
None
-
fc9b08123a (pyside/pyside-setup/dev) fc9b08123a (pyside/tqtc-pyside-setup/dev) 6d5f7b839f (pyside/pyside-setup/6.3) 6d5f7b839f (pyside/tqtc-pyside-setup/6.3) 6d5f7b839f (pyside/pyside-setup/wip/6.3_pypy) 6d5f7b839f (pyside/tqtc-pyside-setup/wip/6.3_pypy)
Description
Most of the signatures in sources/shiboken6/shibokenmodule/Shiboken.pyi are typed with object, which is incorrect for themapart from dump, invalidate, and isValid, as they expect shiboken types; the object return types also restrict most operations on them and require casts on the caller's side
def _unpickle_enum(arg__1: object, arg__2: object) -> object: ... def createdByPython(arg__1: object) -> bool: ... def delete(arg__1: object) -> None: ... def dump(arg__1: object) -> object: ... def getAllValidWrappers() -> object: ... def getCppPointer(arg__1: object) -> object: ... def invalidate(arg__1: object) -> None: ... def isValid(arg__1: object) -> bool: ... def ownedByPython(arg__1: object) -> bool: ... def wrapInstance(arg__1: int, arg__2: type) -> object: ...