From: Berker Peksag Date: Mon, 27 Feb 2017 16:13:41 +0000 (+0300) Subject: bpo-24241: Add versionchanged directive to the documentation (#342) X-Git-Tag: v3.7.0a1~1262 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=370f7a956cef5895c93ca5a53fc26b04df973aaf;p=python bpo-24241: Add versionchanged directive to the documentation (#342) --- 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.