X Tutup
Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions Doc/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1019,10 +1019,12 @@ Glossary
More information can be found in :ref:`metaclasses`.

method
A 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`.
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`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most entries have their "See also" either in a separate paragraph or at the end of the sentence (e.g., "mutable" has lots of small terms at the end) so I think you can also keep the "nested scope" in the same paragraph (the "function" entry also inlines its "see also" sentence).


method resolution order
Method Resolution Order is the order in which base classes are searched
Expand Down
Loading
X Tutup