[PyQt] QNetworkReply pyQt
Florian Bruhin
me at the-compiler.org
Wed May 3 18:31:10 BST 2017
On Wed, May 03, 2017 at 01:17:12PM -0400, Christopher Probst wrote:
> Sorry I am confused here. This is a pyQt mailing list and I am putting a
> python 3.5 example which does not seem to work on my end. I am merely
> asking what I am doing wrong?
QObject(parent) is (similar to) what you'd do in C++, but does nothing
useful in Python.
You want something like super().__init__(parent) or
QObject.__init__(self, parent) instead.
See e.g.:
https://www.blog.pythonlibrary.org/2014/01/21/python-201-what-is-super/
Florian
--
https://www.qutebrowser.org | me at the-compiler.org (Mail/XMPP)
GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
I love long mails! | https://email.is-not-s.ms/
-------------- 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/20170503/85b7c5b2/attachment.sig>
More information about the PyQt
mailing list