summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-11-09 14:18:14 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2009-11-09 14:18:14 (GMT)
commita5dcf2125fa3a1e2702adfa09c8ab157fadcd9f0 (patch)
tree2b6159665f94ae81a063e1e8b95feb94804b596c /Doc
parent0ac6942a76067eeef9a32160c95216a9e58cb503 (diff)
downloadcpython-a5dcf2125fa3a1e2702adfa09c8ab157fadcd9f0.zip
cpython-a5dcf2125fa3a1e2702adfa09c8ab157fadcd9f0.tar.gz
cpython-a5dcf2125fa3a1e2702adfa09c8ab157fadcd9f0.tar.bz2
Remove redundant sentence.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/csv.rst13
1 files changed, 6 insertions, 7 deletions
diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst
index 896b027..407efd0 100644
--- a/Doc/library/csv.rst
+++ b/Doc/library/csv.rst
@@ -167,13 +167,12 @@ The :mod:`csv` module defines the following classes:
Create an object which operates like a regular reader but maps the information
read into a dict whose keys are given by the optional *fieldnames* parameter.
If the *fieldnames* parameter is omitted, the values in the first row of the
- *csvfile* will be used as the fieldnames. If the row read has fewer fields than
- the fieldnames sequence, the value of *restval* will be used as the default
- value. If the row read has more fields than the fieldnames sequence, the
- remaining data is added as a sequence keyed by the value of *restkey*. If the
- row read has fewer fields than the fieldnames sequence, the remaining keys take
- the value of the optional *restval* parameter. Any other optional or keyword
- arguments are passed to the underlying :class:`reader` instance.
+ *csvfile* will be used as the fieldnames. If the row read has more fields
+ than the fieldnames sequence, the remaining data is added as a sequence
+ keyed by the value of *restkey*. If the row read has fewer fields than the
+ fieldnames sequence, the remaining keys take the value of the optional
+ *restval* parameter. Any other optional or keyword arguments are passed to
+ the underlying :class:`reader` instance.
.. class:: DictWriter(csvfile, fieldnames[, restval=''[, extrasaction='raise'[, dialect='excel'[, *args, **kwds]]]])