[PyQt] Python has stopped working in PyQt application

redstone-cold redstone-cold at 163.com
Tue Mar 31 12:57:44 BST 2015


what is wrong with super().__init__()  here?






在2015年03月31 15时14分, "Florian Bruhin"<me at the-compiler.org>写道:

* Sebastian Elsner <sebastianelsner at freenet.de> [2015-03-31 08:58:29 +0200]:
> Properly calling the superclass __init__ works for me:
>
> QMainWindow.__init__(self)

super().__init__() should do the same in Python3.

Florian

--
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
  GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
        I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150331/502f0896/attachment.html>


More information about the PyQt mailing list