typing: Slots can return non-None

Florian Bruhin me at the-compiler.org
Sun Jul 9 00:06:17 BST 2023


Hey,

> On 29/06/2023 22:53, Florian Bruhin wrote:
> > In QtCore.pyi, PyQt6 claims that:
> > 
> >     PYQT_SLOT = typing.Union[typing.Callable[..., None], pyqtBoundSignal]
> > 
> > which is the defined as the argument to pyqtBoundSignal.connect().
> > 
> > [...]
> 
> Fixed.

Seems like it's still declared like that in the latest snapshot
(PyQt6-6.5.2.dev2307051759) - unless that was a change made shortlya
after it was released?

Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20230709/b384232d/attachment.sig>


More information about the PyQt mailing list