diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-06-14 10:29:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-14 10:29:16 (GMT) |
commit | e5d45b7444733861153d6e8959c34323fd361322 (patch) | |
tree | 1dbbbd66a6b023468c0970aa1c11ddb75fe4c583 | |
parent | 67f69dba0a2adc68c631bad5d970bdd22fc05d91 (diff) | |
download | cpython-e5d45b7444733861153d6e8959c34323fd361322.zip cpython-e5d45b7444733861153d6e8959c34323fd361322.tar.gz cpython-e5d45b7444733861153d6e8959c34323fd361322.tar.bz2 |
gh-105745: Fix open method of webbrowser.Konqueror (#105746)
-rwxr-xr-x | Lib/webbrowser.py | 9 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Library/2023-06-14-10-27-34.gh-issue-105745.l1ttOQ.rst | 1 |
2 files changed, 1 insertions, 9 deletions
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py index 4fc9470..8b06287 100755 --- a/Lib/webbrowser.py +++ b/Lib/webbrowser.py @@ -390,15 +390,6 @@ class Konqueror(BaseBrowser): return (p.poll() is None) - def open(self, url, new=0, autoraise=True): - sys.audit("webbrowser.open", url) - if new: - ok = self._remote("LOADNEW " + url) - else: - ok = self._remote("LOAD " + url) - return ok - - class Edge(UnixBrowser): "Launcher class for Microsoft Edge browser." diff --git a/Misc/NEWS.d/next/Library/2023-06-14-10-27-34.gh-issue-105745.l1ttOQ.rst b/Misc/NEWS.d/next/Library/2023-06-14-10-27-34.gh-issue-105745.l1ttOQ.rst new file mode 100644 index 0000000..7df7c5a --- /dev/null +++ b/Misc/NEWS.d/next/Library/2023-06-14-10-27-34.gh-issue-105745.l1ttOQ.rst @@ -0,0 +1 @@ +Fix ``webbrowser.Konqueror.open`` method. |