[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Invalid syntax in QtCore.pyi
From:       Dmitry Shachnev <mitya57 () ubuntu ! com>
Date:       2018-07-13 9:35:54
Message-ID: 20180713093554.GA3901 () mitya57 ! me
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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

["signature.asc" (application/pgp-signature)]
[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic