Skip to content

Commit

Permalink
Make QWebEngineView.setPage() parameter optional
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjacob committed Jun 29, 2023
1 parent bd1c7e0 commit a2e2067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyQt5-stubs/QtWebEngineWidgets.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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: ...

0 comments on commit a2e2067

Please sign in to comment.