summaryrefslogtreecommitdiff
path: root/Doc/library/codecs.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-10-21 10:52:38 +0000
committerGeorg Brandl <georg@python.org>2007-10-21 10:52:38 +0000
commitcf3fb259329eedfa9d2c802b2ea5ced287c21e78 (patch)
treebd09350c4ac4d66064526573c19ebbcd27f77279 /Doc/library/codecs.rst
parentbb75e4e5d243a32cf31b91543b06b829c63e2c70 (diff)
downloadcpython-git-cf3fb259329eedfa9d2c802b2ea5ced287c21e78.tar.gz
Add :term: for generators.
Diffstat (limited to 'Doc/library/codecs.rst')
-rw-r--r--Doc/library/codecs.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index 1bcd376cb1..5bab2afc64 100644
--- a/Doc/library/codecs.rst
+++ b/Doc/library/codecs.rst
@@ -242,8 +242,8 @@ utility functions:
.. function:: iterencode(iterable, encoding[, errors])
Uses an incremental encoder to iteratively encode the input provided by
- *iterable*. This function is a generator. *errors* (as well as any other keyword
- argument) is passed through to the incremental encoder.
+ *iterable*. This function is a :term:`generator`. *errors* (as well as any
+ other keyword argument) is passed through to the incremental encoder.
.. versionadded:: 2.5
@@ -251,8 +251,8 @@ utility functions:
.. function:: iterdecode(iterable, encoding[, errors])
Uses an incremental decoder to iteratively decode the input provided by
- *iterable*. This function is a generator. *errors* (as well as any other keyword
- argument) is passed through to the incremental decoder.
+ *iterable*. This function is a :term:`generator`. *errors* (as well as any
+ other keyword argument) is passed through to the incremental decoder.
.. versionadded:: 2.5