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`.

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