Skip to content

Commit 370f7a9

Browse files
authored
bpo-24241: Add versionchanged directive to the documentation (#342)
1 parent a862812 commit 370f7a9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Doc/library/webbrowser.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,14 @@ The following functions are defined:
9292
*constructor* will never be called, and may be ``None``.
9393

9494
Setting *preferred* to ``True`` makes this browser a preferred result for
95-
a :func:`get` call with no argument. Otherwise, this entry point is only
95+
a :func:`get` call with no argument. Otherwise, this entry point is only
9696
useful if you plan to either set the :envvar:`BROWSER` variable or call
9797
:func:`get` with a nonempty argument matching the name of a handler you
9898
declare.
9999

100+
.. versionchanged:: 3.7
101+
*preferred* keyword-only parameter was added.
102+
100103
A number of browser types are predefined. This table gives the type names that
101104
may be passed to the :func:`get` function and the corresponding instantiations
102105
for the controller classes, all defined in this module.

0 commit comments

Comments
 (0)