summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-10-21 10:45:46 (GMT)
committerGeorg Brandl <georg@python.org>2007-10-21 10:45:46 (GMT)
commit5e52db035d4fbce88c5a1a9820edca406fbf5f25 (patch)
tree5051f2fe632a3b3573a545835ca3f1b00b142927 /Doc/howto
parent5c174bbd845fb9da880b9ab1c9d5da0280cc880f (diff)
downloadcpython-5e52db035d4fbce88c5a1a9820edca406fbf5f25.zip
cpython-5e52db035d4fbce88c5a1a9820edca406fbf5f25.tar.gz
cpython-5e52db035d4fbce88c5a1a9820edca406fbf5f25.tar.bz2
Add :term:s for descriptors.
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/functional.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/functional.rst b/Doc/howto/functional.rst
index 78520d1..39a1e05 100644
--- a/Doc/howto/functional.rst
+++ b/Doc/howto/functional.rst
@@ -448,8 +448,8 @@ Here's the simplest example of a generator function::
yield i
Any function containing a ``yield`` keyword is a generator function; this is
-detected by Python's :term:`bytecode` compiler which compiles the function specially as
-a result.
+detected by Python's :term:`bytecode` compiler which compiles the function
+specially as a result.
When you call a generator function, it doesn't return a single value; instead it
returns a generator object that supports the iterator protocol. On executing