webbrowser.open_new()

webbrowser.open_new(url) Open url in a new window of the default browser, if possible, otherwise, open url in the only browser window.

WindowsError

exception WindowsError Only available on Windows.

webbrowser.controller.open()

controller.open(url, new=0, autoraise=True) Display url using the browser handled by this controller. If new is 1, a new browser window is opened if possible. If new is 2, a new browser page (“tab”) is opened if possible.

weakref.WeakValueDictionary

class weakref.WeakValueDictionary([dict]) Mapping class that references values weakly. Entries in the dictionary will be discarded when no strong reference to the value exists any more. Note Caution: Because a WeakValueDictionary is built on top of a Python dictionary, it must not change size when iterating over it. This can be difficult to ensure for a WeakValueDictionary because actions performed by the program during iteration may cause items in the dictionary to vanish “by magic” (as a

weakref.WeakValueDictionary.valuerefs()

WeakValueDictionary.valuerefs() Return an iterable of the weak references to the values.

webbrowser.controller.open_new()

controller.open_new(url) Open url in a new window of the browser handled by this controller, if possible, otherwise, open url in the only browser window. Alias open_new().

webbrowser.controller.open_new_tab()

controller.open_new_tab(url) Open url in a new page (“tab”) of the browser handled by this controller, if possible, otherwise equivalent to open_new().

webbrowser.Error

exception webbrowser.Error Exception raised when a browser control error occurs.

weakref.ref.__callback__

__callback__ This read-only attribute returns the callback currently associated to the weakref. If there is no callback or if the referent of the weakref is no longer alive then this attribute will have value None.

weakref.ReferenceType

weakref.ReferenceType The type object for weak references objects.