[PyQt] Invalid syntax in QtCore.pyi
Dmitry Shachnev
mitya57 at ubuntu.com
Fri Jul 13 10:35:54 BST 2018
Hi Phil,
I have been experimenting with mypy, and noticed this error:
PyQt5/QtCore.pyi:6215: error: invalid syntax
That line is:
class QRandomGenerator(sip.simplewrapper):
...
@staticmethod
def global() -> 'QRandomGenerator': ...
Maybe you can change that method to global_?
--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180713/ac2f6ac7/attachment.sig>
More information about the PyQt
mailing list