[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: typing: Specify element type for sip.voidptr.asarray
From: Florian Bruhin <me () the-compiler ! org>
Date: 2023-07-09 0:05:58
Message-ID: 168886115866.451705.1834337388885469576 () aragog ! localdomain
[Download RAW message or body]
Hey,
last one for today ;)
In PyQt6/sip.pyi, there is:
class voidptr:
...
def asarray(self, size: int = -1) -> array: ...
which could be specified to return array[int] rather than just array.
As usual, thanks to the PyQt6-stubs project :)
Florian
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic