summaryrefslogtreecommitdiffstats
path: root/Doc/library/webbrowser.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-01-18 00:32:07 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-01-18 00:32:07 (GMT)
commit25d1bdc4074a93f268e40be1a8e49f003c3cbe57 (patch)
tree78398125d67e1f86b1ce2aacc3888b567ba911c0 /Doc/library/webbrowser.rst
parent72750a85f970dc7d79c44c63fd02157634984762 (diff)
downloadcpython-25d1bdc4074a93f268e40be1a8e49f003c3cbe57.zip
cpython-25d1bdc4074a93f268e40be1a8e49f003c3cbe57.tar.gz
cpython-25d1bdc4074a93f268e40be1a8e49f003c3cbe57.tar.bz2
Add missing versionadded in webbrowser doc.
Diffstat (limited to 'Doc/library/webbrowser.rst')
-rw-r--r--Doc/library/webbrowser.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/library/webbrowser.rst b/Doc/library/webbrowser.rst
index 188647d..9cf8c50 100644
--- a/Doc/library/webbrowser.rst
+++ b/Doc/library/webbrowser.rst
@@ -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)