Skip to content

Commit ac9e4a9

Browse files
authored
Make the QLineEdit.setValidator() parameter optional
#209
1 parent d29b030 commit ac9e4a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PyQt5-stubs/QtWidgets.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -7177,7 +7177,7 @@ class QLineEdit(QWidget):
71777177
def minimumSizeHint(self) -> QtCore.QSize: ...
71787178
def sizeHint(self) -> QtCore.QSize: ...
71797179
def validator(self) -> QtGui.QValidator: ...
7180-
def setValidator(self, a0: QtGui.QValidator) -> None: ...
7180+
def setValidator(self, a0: typing.Optional[QtGui.QValidator]) -> None: ...
71817181
def setReadOnly(self, a0: bool) -> None: ...
71827182
def isReadOnly(self) -> bool: ...
71837183
def setEchoMode(self, a0: 'QLineEdit.EchoMode') -> None: ...

0 commit comments

Comments
 (0)