diff options
Diffstat (limited to 'Doc/glossary.rst')
-rw-r--r-- | Doc/glossary.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 7a87dd5..2894f35 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -123,6 +123,9 @@ Glossary def f(...): ... + See :ref:`the documentation for function definition <function>` for more + about decorators. + descriptor Any *new-style* object which defines the methods :meth:`__get__`, :meth:`__set__`, or :meth:`__delete__`. When a class attribute is a @@ -498,6 +501,12 @@ Glossary (subscript) notation uses :class:`slice` objects internally (or in older versions, :meth:`__getslice__` and :meth:`__setslice__`). + special method + A method that is called implicitly by Python to execute a certain + operation on a type, such as addition. Such methods have names starting + and ending with double underscores. Special methods are documented in + :ref:`specialnames`. + statement A statement is part of a suite (a "block" of code). A statement is either an :term:`expression` or a one of several constructs with a keyword, such |