summaryrefslogtreecommitdiff
path: root/Doc/library/webbrowser.rst
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2017-02-27 19:13:41 +0300
committerGitHub <noreply@github.com>2017-02-27 19:13:41 +0300
commit370f7a956cef5895c93ca5a53fc26b04df973aaf (patch)
tree3582642869ed9ad99a383be674b401def87ef6f9 /Doc/library/webbrowser.rst
parenta8628125658e08e4afe92e929f7f6becebdc363a (diff)
downloadcpython-git-370f7a956cef5895c93ca5a53fc26b04df973aaf.tar.gz
bpo-24241: Add versionchanged directive to the documentation (#342)
Diffstat (limited to 'Doc/library/webbrowser.rst')
-rw-r--r--Doc/library/webbrowser.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/library/webbrowser.rst b/Doc/library/webbrowser.rst
index ee501e80d9..9dc5551398 100644
--- a/Doc/library/webbrowser.rst
+++ b/Doc/library/webbrowser.rst
@@ -92,11 +92,14 @@ The following functions are defined:
*constructor* will never be called, and may be ``None``.
Setting *preferred* to ``True`` makes this browser a preferred result for
- a :func:`get` call with no argument. Otherwise, this entry point is only
+ a :func:`get` call with no argument. Otherwise, this entry point is only
useful if you plan to either set the :envvar:`BROWSER` variable or call
:func:`get` with a nonempty argument matching the name of a handler you
declare.
+ .. versionchanged:: 3.7
+ *preferred* keyword-only parameter was added.
+
A number of browser types are predefined. This table gives the type names that
may be passed to the :func:`get` function and the corresponding instantiations
for the controller classes, all defined in this module.