Skip to content

Commit

Permalink
[3.12] gh-105745: Fix open method of webbrowser.Konqueror (GH-105746) (
Browse files Browse the repository at this point in the history
…#105777)

gh-105745: Fix open method of webbrowser.Konqueror (GH-105746)
(cherry picked from commit e5d45b7)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
  • Loading branch information
miss-islington and sobolevn committed Jun 14, 2023
1 parent 0a9346d commit ad7371e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
9 changes: 0 additions & 9 deletions Lib/webbrowser.py
Expand Up @@ -391,15 +391,6 @@ def open(self, url, new=0, autoraise=True):
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."

Expand Down
@@ -0,0 +1 @@
Fix ``webbrowser.Konqueror.open`` method.

0 comments on commit ad7371e

Please sign in to comment.