Skip to content

Commit d666125

Browse files
committed
Fix staticmethod typing ignore to actually make it ignored
1 parent 0861d3a commit d666125

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PyQt5-stubs/QtCore.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,10 +1650,10 @@ class QObject(sip.wrapper):
16501650

16511651
def __init__(self, parent: typing.Optional['QObject'] = ...) -> None: ...
16521652

1653-
@typing.overload
1653+
@typing.overload # type: ignore # fixes issue #1
16541654
@staticmethod
16551655
def disconnect(a0: 'QMetaObject.Connection') -> bool: ...
1656-
@typing.overload # type: ignore # fixes issue #1
1656+
@typing.overload
16571657
def disconnect(self) -> None: ...
16581658
def isSignalConnected(self, signal: 'QMetaMethod') -> bool: ...
16591659
def senderSignalIndex(self) -> int: ...

0 commit comments

Comments
 (0)