[PyQt] Wrong signature return by inspect

Alessandro Pasotti apasotti at gmail.com
Sun Apr 30 10:57:18 BST 2017


I just noticed that PyQ5 signature returned by inspect.signature is wrong:

In [7]: from PyQt5.QtCore import QCoreApplication

In [8]: inspect.signature(QCoreApplication.__init__)
Out[8]: <Signature (self, /, *args, **kwargs)>

I'm not sure where the problem is, any idea?

Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170430/724cf2a0/attachment.html>

More information about the PyQt mailing list