From 559b1e926c70fbadc3de32418d0aa7108e12966c Mon Sep 17 00:00:00 2001 From: Jordi Burguet-Castell Date: Mon, 29 Jul 2024 18:27:20 +0200 Subject: [PATCH 1/2] webbrowser.rst: better describe the contents of controller object This is a minor change that addresses https://github.com/python/cpython/issues/122399 It just mentions that the controller object has a `name` attribute too, before mentioning it with the other methods. --- Doc/library/webbrowser.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/webbrowser.rst b/Doc/library/webbrowser.rst index 334f21f01c14c0..a101ce4d6e9572 100644 --- a/Doc/library/webbrowser.rst +++ b/Doc/library/webbrowser.rst @@ -210,8 +210,8 @@ Here are some simple examples:: Browser Controller Objects -------------------------- -Browser controllers provide these methods which parallel three of the -module-level convenience functions: +Browser controllers provide the :attr:`name` attribute, and these three methods +which parallel module-level convenience functions: .. attribute:: controller.name From 7c9c32c112b8bc3da44ea7e52624ae66a026b7ba Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Mon, 29 Jul 2024 18:07:09 +0100 Subject: [PATCH 2/2] Fix reference warning --- Doc/library/webbrowser.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/webbrowser.rst b/Doc/library/webbrowser.rst index a101ce4d6e9572..09d5e66b420918 100644 --- a/Doc/library/webbrowser.rst +++ b/Doc/library/webbrowser.rst @@ -210,8 +210,8 @@ Here are some simple examples:: Browser Controller Objects -------------------------- -Browser controllers provide the :attr:`name` attribute, and these three methods -which parallel module-level convenience functions: +Browser controllers provide the :attr:`~controller.name` attribute, +and the following three methods which parallel module-level convenience functions: .. attribute:: controller.name