Details
Description
The type hint says:
typing.Tuple[PySide2.QtGui.QFont, bool]
But in reality, the output is reversed:
font, ok = QFontDialog.getFont() print(font, ok)
True <PySide2.QtGui.QFont(Segoe UI,10,-1,5,25,0,0,0,0,0,Light) at 0x7f0fc37595c8>
Attachments
For Gerrit Dashboard: PYSIDE-1409 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
344298,2 | signature: Refine the decision heuristics of result tuples | 6.0 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
344299,4 | signature: Refine the decision heuristics of result tuples | tqtc/lts-5.15 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |
344390,2 | signature: Refine the decision heuristics of result tuples | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |