diff --git a/PyQt5-stubs/QtWebEngineWidgets.pyi b/PyQt5-stubs/QtWebEngineWidgets.pyi index 4cdfdc6..1d71655 100644 --- a/PyQt5-stubs/QtWebEngineWidgets.pyi +++ b/PyQt5-stubs/QtWebEngineWidgets.pyi @@ -1037,5 +1037,5 @@ class QWebEngineView(QtWidgets.QWidget): def load(self, url: QtCore.QUrl) -> None: ... @typing.overload def load(self, request: QtWebEngineCore.QWebEngineHttpRequest) -> None: ... - def setPage(self, page: QWebEnginePage) -> None: ... + def setPage(self, page: typing.Optional[QWebEnginePage]) -> None: ... def page(self) -> QWebEnginePage: ...