Skip to content

Commit af52ff7

Browse files
authored
pythongh-122399: change webbrowser.rst to better describe the contents of controller object
This is a minor change that addresses python#122399 (for the 3.12 branch). It fixes the reference to the attribute `name` so it belongs to the controller object (and not to the webbrowser module). It also mentions that the controller object has a name attribute too, before mentioning it with the other methods.
1 parent 5bd2ea2 commit af52ff7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/webbrowser.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,11 @@ Here are some simple examples::
190190
Browser Controller Objects
191191
--------------------------
192192

193-
Browser controllers provide these methods which parallel three of the
194-
module-level convenience functions:
193+
Browser controllers provide the :attr:`name` attribute, and these three methods
194+
which parallel module-level convenience functions:
195195

196196

197-
.. attribute:: name
197+
.. attribute:: controller.name
198198

199199
System-dependent name for the browser.
200200

0 commit comments

Comments
 (0)