summaryrefslogtreecommitdiff
path: root/Doc/reference
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-12-02 14:58:50 +0000
committerGeorg Brandl <georg@python.org>2007-12-02 14:58:50 +0000
commit584265b0010c660af21d3b22ac18fff0da678dd0 (patch)
treee8d6c884efe654560c7118d61b14296008a6f5b3 /Doc/reference
parentb15a8df51919ae428023df79fd078263d4d23c88 (diff)
downloadcpython-git-584265b0010c660af21d3b22ac18fff0da678dd0.tar.gz
Add more entries to the glossary.
Written by Jeff Wheeler for GHOP.
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/compound_stmts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index cebdcf1e2f..9c6135cde6 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -428,7 +428,7 @@ when the function is called.
The function definition does not execute the function body; this gets executed
only when the function is called.
-A function definition may be wrapped by one or more decorator expressions.
+A function definition may be wrapped by one or more :term:`decorator` expressions.
Decorator expressions are evaluated when the function is defined, in the scope
that contains the function definition. The result must be a callable, which is
invoked with the function object as the only argument. The returned value is