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

Function open_new

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

96
97
98def open_new(url):
99 """Open url in a new window of the default browser.
100
101 If not possible, then open url in the only browser window.
102 """
103 return open(url, 1)
104
105
106def open_new_tab(url):

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…