From 370f7a956cef5895c93ca5a53fc26b04df973aaf Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Mon, 27 Feb 2017 19:13:41 +0300 Subject: [PATCH] bpo-24241: Add versionchanged directive to the documentation (#342) --- Doc/library/webbrowser.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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. -- 2.50.1