MCPcopy Index your code
hub / github.com/python/cpython / open_new_tab

Function open_new_tab

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

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

Callers

nothing calls this directly

Calls 1

openFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…