[Python-checkins] cpython: Add missing versionadded in webbrowser doc.

ezio.melotti python-checkins at python.org
Wed Jan 18 01:32:16 CET 2012


http://hg.python.org/cpython/rev/6497196cad81
changeset:   74474:6497196cad81
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Wed Jan 18 02:32:07 2012 +0200
summary:
  Add missing versionadded in webbrowser doc.

files:
  Doc/library/webbrowser.rst |  7 +++++--
  1 files changed, 5 insertions(+), 2 deletions(-)


diff --git a/Doc/library/webbrowser.rst b/Doc/library/webbrowser.rst
--- a/Doc/library/webbrowser.rst
+++ b/Doc/library/webbrowser.rst
@@ -164,12 +164,15 @@
 (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)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list