diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2017-02-27 16:13:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-27 16:13:41 (GMT) |
commit | 370f7a956cef5895c93ca5a53fc26b04df973aaf (patch) | |
tree | 3582642869ed9ad99a383be674b401def87ef6f9 /Doc | |
parent | a8628125658e08e4afe92e929f7f6becebdc363a (diff) | |
download | cpython-370f7a956cef5895c93ca5a53fc26b04df973aaf.zip cpython-370f7a956cef5895c93ca5a53fc26b04df973aaf.tar.gz cpython-370f7a956cef5895c93ca5a53fc26b04df973aaf.tar.bz2 |
bpo-24241: Add versionchanged directive to the documentation (#342)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/webbrowser.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/library/webbrowser.rst b/Doc/library/webbrowser.rst index ee501e8..9dc5551 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. |