summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2012-08-12 15:34:13 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2012-08-12 15:34:13 (GMT)
commit2e64a0b6ff7a462c1c4d9089d9681993ff589b16 (patch)
treeb8ad5b7ff6f01b839a1e75e10f29ec39d9f28ee8 /Doc/library
parenta026db907f1571a29a40a42897b1184be13a34f1 (diff)
parentc7b0e217e2ee000138ca5e7d6d08502c4995cf20 (diff)
downloadcpython-2e64a0b6ff7a462c1c4d9089d9681993ff589b16.zip
cpython-2e64a0b6ff7a462c1c4d9089d9681993ff589b16.tar.gz
cpython-2e64a0b6ff7a462c1c4d9089d9681993ff589b16.tar.bz2
merge with 3.2
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/webbrowser.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/webbrowser.rst b/Doc/library/webbrowser.rst
index 1a4cb69..9c2b3ab 100644
--- a/Doc/library/webbrowser.rst
+++ b/Doc/library/webbrowser.rst
@@ -36,7 +36,9 @@ The script :program:`webbrowser` can be used as a command-line interface for the
module. It accepts an URL as the argument. It accepts the following optional
parameters: ``-n`` opens the URL in a new browser window, if possible;
``-t`` opens the URL in a new browser page ("tab"). The options are,
-naturally, mutually exclusive.
+naturally, mutually exclusive. Usage example::
+
+ python -m webbrowser -t "http://www.python.org"
The following exception is defined: