mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
[3.12] gh-105745: Fix open method of webbrowser.Konqueror (GH-105746) (#105777)
gh-105745: Fix open method of webbrowser.Konqueror (GH-105746)
(cherry picked from commit e5d45b7444
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
This commit is contained in:
parent
0a9346d3d8
commit
ad7371e407
2 changed files with 1 additions and 9 deletions
|
@ -391,15 +391,6 @@ class Konqueror(BaseBrowser):
|
||||||
return (p.poll() is None)
|
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):
|
class Edge(UnixBrowser):
|
||||||
"Launcher class for Microsoft Edge browser."
|
"Launcher class for Microsoft Edge browser."
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Fix ``webbrowser.Konqueror.open`` method.
|
Loading…
Add table
Add a link
Reference in a new issue