MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / open_new

Function open_new

tools/python-3.11.9-amd64/Lib/webbrowser.py:91–96  ·  view source on GitHub ↗

Open url in a new window of the default browser. If not possible, then open url in the only browser window.

(url)

Source from the content-addressed store, hash-verified

89 return False
90
91def open_new(url):
92 """Open url in a new window of the default browser.
93
94 If not possible, then open url in the only browser window.
95 """
96 return open(url, 1)
97
98def open_new_tab(url):
99 """Open url in a new page ("tab") of the default browser.

Callers

nothing calls this directly

Calls 1

openFunction · 0.70

Tested by

no test coverage detected