Issue with latest development snapshot handling None type argument
Detlev Offenbach
detlev at die-offenbachs.de
Fri Jul 21 08:47:48 BST 2023
Hi,
I just tried latest development snapshot and observed an issue. If the
argument to QLabel.setText() is None, it throws an exception.
<class 'TypeError'>:
setText(self, a0: Optional[str]): argument 1 has unexpected type 'NoneType'
That works OK with PyQt 6.5.1. What am I doing wrong?
Regards,
Detlev
--
Detlev Offenbach
detlev at die-offenbachs.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xBD1F26A5DA8A6150.asc
Type: application/pgp-keys
Size: 660 bytes
Desc: OpenPGP public key
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20230721/5dcd7471/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20230721/5dcd7471/attachment.sig>
More information about the PyQt
mailing list