~ubuntu-branches/ubuntu/karmic/python3.0/karmic

« back to all changes in this revision

Viewing changes to Doc/library/webbrowser.rst

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-02-16 17:18:23 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090216171823-1d5cm5qnnjvmnzzm
Tags: 3.0.1-0ubuntu1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
155
155
 
156
156
   url = 'http://www.python.org'
157
157
 
158
 
   # Open URL in a new tab, if a browser window is already open. 
 
158
   # Open URL in a new tab, if a browser window is already open.
159
159
   webbrowser.open_new_tab(url + '/doc')
160
160
 
161
161
   # Open URL in new window, raising the window if possible.
167
167
Browser Controller Objects
168
168
--------------------------
169
169
 
170
 
Browser controllers provide two methods which parallel two of the module-level
 
170
Browser controllers provide these methods which parallel two of the module-level
171
171
convenience functions:
172
172
 
173
173