MCPcopy Index your code
hub / github.com/RustPython/RustPython / open_new_tab

Function open_new_tab

Lib/webbrowser.py:107–112  ·  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

105
106
107def open_new_tab(url):
108 """Open url in a new page ("tab") of the default browser.
109
110 If not possible, then the behavior becomes equivalent to open_new().
111 """
112 return open(url, 2)
113
114
115def _synthesize(browser, *, preferred=False):

Callers

nothing calls this directly

Calls 1

openFunction · 0.70

Tested by

no test coverage detected