diff options
author | Georg Brandl <georg@python.org> | 2007-10-21 12:10:28 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-10-21 12:10:28 (GMT) |
commit | e7a0990113873e5f0cc5cac203f47a8dcbda9848 (patch) | |
tree | a19f8f84973bb222ee9564617004c926f41e6100 /Doc/library/csv.rst | |
parent | cf3fb259329eedfa9d2c802b2ea5ced287c21e78 (diff) | |
download | cpython-e7a0990113873e5f0cc5cac203f47a8dcbda9848.zip cpython-e7a0990113873e5f0cc5cac203f47a8dcbda9848.tar.gz cpython-e7a0990113873e5f0cc5cac203f47a8dcbda9848.tar.bz2 |
Add :term:s for iterator.
Diffstat (limited to 'Doc/library/csv.rst')
-rw-r--r-- | Doc/library/csv.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index 153dc89..98fc6c9 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -62,7 +62,7 @@ The :mod:`csv` module defines the following functions: .. function:: reader(csvfile[, dialect='excel'][, fmtparam]) Return a reader object which will iterate over lines in the given *csvfile*. - *csvfile* can be any object which supports the iterator protocol and returns a + *csvfile* can be any object which supports the :term:`iterator` protocol and returns a string each time its :meth:`next` method is called --- file objects and list objects are both suitable. If *csvfile* is a file object, it must be opened with the 'b' flag on platforms where that makes a difference. An optional |