summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2014-04-17 03:43:34 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2014-04-17 03:43:34 (GMT)
commitaad7cc9dba9e2a1ad0b1977da3133a8435b212d9 (patch)
tree8ec6417184dd2dd79b398a471e0d72fa9417bfe8 /Doc
parent8b4a272c98249a8d42e0738a6f0d28e724efd7a3 (diff)
downloadcpython-aad7cc9dba9e2a1ad0b1977da3133a8435b212d9.zip
cpython-aad7cc9dba9e2a1ad0b1977da3133a8435b212d9.tar.gz
cpython-aad7cc9dba9e2a1ad0b1977da3133a8435b212d9.tar.bz2
Clarify BROWSER envar behavior in webbrowser.py. Noted by David Turner. Closes #21248
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/webbrowser.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/webbrowser.rst b/Doc/library/webbrowser.rst
index 9c2b3ab..ef63769 100644
--- a/Doc/library/webbrowser.rst
+++ b/Doc/library/webbrowser.rst
@@ -19,12 +19,12 @@ will be used if graphical browsers are not available or an X11 display isn't
available. If text-mode browsers are used, the calling process will block until
the user exits the browser.
-If the environment variable :envvar:`BROWSER` exists, it is interpreted to
-override the platform default list of browsers, as a :data:`os.pathsep`-separated
-list of browsers to try in order. When the value of a list part contains the
-string ``%s``, then it is interpreted as a literal browser command line to be
-used with the argument URL substituted for ``%s``; if the part does not contain
-``%s``, it is simply interpreted as the name of the browser to launch. [1]_
+If the environment variable :envvar:`BROWSER` exists, it is interpreted as the
+:data:`os.pathsep`-separated list of browsers to try ahead of the the platform
+defaults. When the value of a list part contains the string ``%s``, then it is
+interpreted as a literal browser command line to be used with the argument URL
+substituted for ``%s``; if the part does not contain ``%s``, it is simply
+interpreted as the name of the browser to launch. [1]_
For non-Unix platforms, or when a remote browser is available on Unix, the
controlling process will not wait for the user to finish with the browser, but