From 731ca66730f5a9d0269f6adaffedd34c02ba3255 Mon Sep 17 00:00:00 2001 From: William Andrea <22385371+wjandrea@users.noreply.github.com> Date: Wed, 11 Feb 2026 12:27:38 -0400 Subject: [PATCH 1/4] Glossary: "method" - move up link --- Doc/glossary.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 1dccb77cc53228..2fcdf5a571a969 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -1019,10 +1019,10 @@ Glossary More information can be found in :ref:`metaclasses`. method - A function which is defined inside a class body. If called as an attribute + A :term:`function` which is defined inside a class body. If called as an attribute of an instance of that class, the method will get the instance object as its first :term:`argument` (which is usually called ``self``). - See :term:`function` and :term:`nested scope`. + See :term:`nested scope`. method resolution order Method Resolution Order is the order in which base classes are searched From 231e87b37254fcfc6b61e77ca49f447d6af3ad46 Mon Sep 17 00:00:00 2001 From: William Andrea <22385371+wjandrea@users.noreply.github.com> Date: Wed, 11 Feb 2026 12:33:10 -0400 Subject: [PATCH 2/4] Glossary: "method" - use consistent "see also" --- Doc/glossary.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 2fcdf5a571a969..6d3082e2efbb8e 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -1022,7 +1022,8 @@ Glossary A :term:`function` which is defined inside a class body. If called as an attribute of an instance of that class, the method will get the instance object as its first :term:`argument` (which is usually called ``self``). - See :term:`nested scope`. + + See also :term:`nested scope`. method resolution order Method Resolution Order is the order in which base classes are searched From ef23fe06525c230e57a15fa1f7b2a62f2991969a Mon Sep 17 00:00:00 2001 From: William Andrea <22385371+wjandrea@users.noreply.github.com> Date: Wed, 11 Feb 2026 12:34:10 -0400 Subject: [PATCH 3/4] Glossary: "method" - add links --- Doc/glossary.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 6d3082e2efbb8e..e6ae3aa1474ae3 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -1019,7 +1019,7 @@ Glossary More information can be found in :ref:`metaclasses`. method - A :term:`function` which is defined inside a class body. If called as an attribute + A :term:`function` which is defined inside a :term:`class` body. If called as an :term:`attribute` of an instance of that class, the method will get the instance object as its first :term:`argument` (which is usually called ``self``). From e2da4456891b5209c0af21dd12fcdefa68cf6d8f Mon Sep 17 00:00:00 2001 From: William Andrea <22385371+wjandrea@users.noreply.github.com> Date: Wed, 11 Feb 2026 12:41:00 -0400 Subject: [PATCH 4/4] Glossary: "method" - wrap to 80 --- Doc/glossary.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Doc/glossary.rst b/Doc/glossary.rst index e6ae3aa1474ae3..c2589139ad2675 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -1019,10 +1019,11 @@ Glossary More information can be found in :ref:`metaclasses`. method - A :term:`function` which is defined inside a :term:`class` body. If called as an :term:`attribute` - of an instance of that class, the method will get the instance object as - its first :term:`argument` (which is usually called ``self``). - + A :term:`function` which is defined inside a :term:`class` body. If + called as an :term:`attribute` of an instance of that class, the method + will get the instance object as its first :term:`argument` (which is + usually called ``self``). + See also :term:`nested scope`. method resolution order