From af52ff74a2c2fb56d6345c1ed6df5a4fa8ee556f Mon Sep 17 00:00:00 2001 From: Jordi Burguet-Castell Date: Mon, 29 Jul 2024 18:43:19 +0200 Subject: [PATCH] gh-122399: change webbrowser.rst to better describe the contents of controller object This is a minor change that addresses #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. --- Doc/library/webbrowser.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/webbrowser.rst b/Doc/library/webbrowser.rst index df22c5f5e1ecf4..888e579a5d551b 100644 --- a/Doc/library/webbrowser.rst +++ b/Doc/library/webbrowser.rst @@ -190,11 +190,11 @@ 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:: name +.. attribute:: controller.name System-dependent name for the browser.