Add missing versionadded in webbrowser doc.

This commit is contained in:
Ezio Melotti 2012-01-18 02:32:07 +02:00
parent 72750a85f9
commit 25d1bdc407
1 changed files with 5 additions and 2 deletions

View File

@ -164,12 +164,15 @@ Notes:
(4)
Only on Mac OS X platform.
.. versionadded:: 3.3
Support for Chrome/Chromium has been added.
Here are some simple examples::
url = 'http://www.python.org/'
url = 'http://docs.python.org/'
# Open URL in a new tab, if a browser window is already open.
webbrowser.open_new_tab(url + 'doc/')
webbrowser.open_new_tab(url)
# Open URL in new window, raising the window if possible.
webbrowser.open_new(url)