summaryrefslogtreecommitdiffstats
path: root/Doc/library/csv.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-01-06 09:23:56 (GMT)
committerGeorg Brandl <georg@python.org>2011-01-06 09:23:56 (GMT)
commitb30f3303f70b2a73bd9dec068edcdf78a1c71096 (patch)
tree4b2206ed4e452ab2ffbd89459005d88b9e9db99c /Doc/library/csv.rst
parent77041b23540764ef0cd4eec4f1368c740daff338 (diff)
downloadcpython-b30f3303f70b2a73bd9dec068edcdf78a1c71096.zip
cpython-b30f3303f70b2a73bd9dec068edcdf78a1c71096.tar.gz
cpython-b30f3303f70b2a73bd9dec068edcdf78a1c71096.tar.bz2
Fix various issues (mostly Python 2 relics) found by Jacques Ducasse.
Diffstat (limited to 'Doc/library/csv.rst')
-rw-r--r--Doc/library/csv.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst
index ea18349..eca3149 100644
--- a/Doc/library/csv.rst
+++ b/Doc/library/csv.rst
@@ -50,7 +50,7 @@ The :mod:`csv` module defines the following functions:
Return a reader object which will iterate over lines in the given *csvfile*.
*csvfile* can be any object which supports the :term:`iterator` protocol and returns a
- string each time its :meth:`!next` method is called --- :term:`file objects
+ string each time its :meth:`!__next__` method is called --- :term:`file objects
<file object>` and list objects are both suitable. If *csvfile* is a file object,
it should be opened with ``newline=''``. [#]_ An optional
*dialect* parameter can be given which is used to define a set of parameters