[PyQt] Documentation Discrepancy

Hugo Slepicka hhslepicka at gmail.com
Wed Jul 31 23:26:01 BST 2019


I guess you mean Python 2 print instead of Python 3...

On Wed, Jul 31, 2019 at 2:12 PM Dennis Jensen <djensen at pgcontrols.com>
wrote:

> I was reading through this online documentation and encountered what
> appears to be an oversight
>
> https://www.riverbankcomputing.com/static/Docs/PyQt5/signals_slots.html
>
> This page reference PyQt5 example code but in the code it is using the
> PyQt4 version of the print command as follows:
>
> print "trigger signal received"
>
> Where the command should appear as follows:
>
> print("trigger signal received")
>
> If it were an actual PyQt5 version of the print command.  I bring this up
> mainly because I am not wondering if any of the rest of the example code on
> this page is also old PyQt4 code instead of the current PyQt5 or was this
> one statement the only oversight?
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>


-- 
Hugo Slepicka
*hhslepicka at gmail.com <hhslepicka at gmail.com>*
*+1 631 855 5717*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190731/696e3f22/attachment.html>


More information about the PyQt mailing list