Skip to content

Commit 50f45f5

Browse files
authored
Merge pull request #57 from altendky/patch-3
Slots can return any `object`
2 parents c449596 + fba0ed6 commit 50f45f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PyQt5-stubs/QtCore.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class pyqtBoundSignal:
4242

4343
# Convenient type aliases.
4444
PYQT_SIGNAL = typing.Union[pyqtSignal, pyqtBoundSignal]
45-
PYQT_SLOT = typing.Union[typing.Callable[..., None], pyqtBoundSignal]
45+
PYQT_SLOT = typing.Union[typing.Callable[..., object], pyqtBoundSignal]
4646

4747

4848
class QtMsgType(int): ...

0 commit comments

Comments
 (0)