File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -156,8 +156,10 @@ The :mod:`csv` module defines the following classes:
156
156
157
157
The *fieldnames * parameter is a :term: `sequence `. If *fieldnames * is
158
158
omitted, the values in the first row of file *f * will be used as the
159
- fieldnames. Regardless of how the fieldnames are determined, the
160
- dictionary preserves their original ordering.
159
+ fieldnames and will be omitted from the results. If
160
+ *fieldnames * is provided, they will be used and the first row will be
161
+ included in the results. Regardless of how the fieldnames are determined,
162
+ the dictionary preserves their original ordering.
161
163
162
164
If a row has more fields than fieldnames, the remaining data is put in a
163
165
list and stored with the fieldname specified by *restkey * (which defaults
You can’t perform that action at this time.
0 commit comments