[PyQt] Invalid type hint for QBluetoothUuid

Florian Bruhin me at the-compiler.org
Fri Nov 23 20:37:00 GMT 2018


Hi,

QBluetoothUuid has a type hint with a missing ]:

  def __init__(self, uuid: Tuple[int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int) -> None: ...

It looks like a typo in the TypeHint annotation, patch to fix it
attached.

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 --------------
--- sip/QtBluetooth/qpybluetooth_quint128.sip.old	2018-11-23 21:33:48.388313886 +0100
+++ sip/QtBluetooth/qpybluetooth_quint128.sip	2018-11-23 21:34:00.331673701 +0100
@@ -18,7 +18,7 @@
 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 
 
-%MappedType quint128 /TypeHint="Tuple[int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int"/
+%MappedType quint128 /TypeHint="Tuple[int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int]"/
 {
 %TypeHeaderCode
 #include <qbluetoothuuid.h>
-------------- 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/20181123/0a9a8688/attachment.sig>


More information about the PyQt mailing list