[Python-checkins] cpython (3.4): Clarify BROWSER envar behavior in webbrowser.py. Noted by David Turner. Closes
senthil.kumaran
python-checkins at python.org
Thu Apr 17 05:44:12 CEST 2014
http://hg.python.org/cpython/rev/503bf9dee28e
changeset: 90376:503bf9dee28e
branch: 3.4
parent: 90374:57c66f85942d
user: Senthil Kumaran <senthil at uthcode.com>
date: Wed Apr 16 23:43:34 2014 -0400
summary:
Clarify BROWSER envar behavior in webbrowser.py. Noted by David Turner. Closes #21248
files:
Doc/library/webbrowser.rst | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Doc/library/webbrowser.rst b/Doc/library/webbrowser.rst
--- a/Doc/library/webbrowser.rst
+++ b/Doc/library/webbrowser.rst
@@ -19,12 +19,12 @@
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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list