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:
156156
157157 The *fieldnames * parameter is a :term: `sequence `. If *fieldnames * is
158158 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.
161163
162164 If a row has more fields than fieldnames, the remaining data is put in a
163165 list and stored with the fieldname specified by *restkey * (which defaults
You can’t perform that action at this time.
0 commit comments