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

Function open_new_tab

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

Open url in a new page ("tab") of the default browser. If not possible, then the behavior becomes equivalent to open_new().

(url)

Source from the content-addressed store, hash-verified

96 return open(url, 1)
97
98def open_new_tab(url):
99 """Open url in a new page ("tab") of the default browser.
100
101 If not possible, then the behavior becomes equivalent to open_new().
102 """
103 return open(url, 2)
104
105
106def _synthesize(browser, *, preferred=False):

Callers

nothing calls this directly

Calls 1

openFunction · 0.70

Tested by

no test coverage detected