-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
6.8.3
-
None
-
-
cc2a2ab99 (dev), e1c761e27 (6.10)
from PySide6 import QtCore result: tuple[float, float] = QtCore.QSize().toTuple() result: tuple[float, float] = QtCore.QPoint().toTuple() result: tuple[float, float] = QtCore.QLine().toTuple()
The type hint says:
Expected type 'tuple[float, float]', got 'object' instead
For Gerrit Dashboard: PYSIDE-3178 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
675062,3 | type hints: Fix return types of toTuple function | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
675136,2 | type hints: Fix return types of toTuple function | 6.10 | pyside/pyside-setup | Status: MERGED | +2 | 0 |