@@ -150,12 +150,12 @@ The :mod:`csv` module defines the following classes:
150150 dialect='excel', *args, **kwds)
151151
152152 Create an object that operates like a regular reader but maps the
153- information in each row to an :mod: ` OrderedDict <collections.OrderedDict> `
154- whose keys are given by the optional *fieldnames * parameter.
153+ information in each row to a :class: ` dict ` whose keys are given by the
154+ optional *fieldnames * parameter.
155155
156156 The *fieldnames * parameter is a :term: `sequence `. If *fieldnames * is
157157 omitted, the values in the first row of file *f * will be used as the
158- fieldnames. Regardless of how the fieldnames are determined, the ordered
158+ fieldnames. Regardless of how the fieldnames are determined, the
159159 dictionary preserves their original ordering.
160160
161161 If a row has more fields than fieldnames, the remaining data is put in a
@@ -166,8 +166,8 @@ The :mod:`csv` module defines the following classes:
166166 All other optional or keyword arguments are passed to the underlying
167167 :class: `reader ` instance.
168168
169- .. versionchanged :: 3.6
170- Returned rows are now of type :class: `OrderedDict `.
169+ .. versionchanged :: 3.8
170+ Returned rows are now of type :class: `dict `.
171171
172172 A short usage example::
173173
@@ -181,7 +181,7 @@ The :mod:`csv` module defines the following classes:
181181 John Cleese
182182
183183 >>> print(row)
184- OrderedDict([( 'first_name', 'John'), ( 'last_name', 'Cleese')])
184+ { 'first_name': 'John', 'last_name': 'Cleese'}
185185
186186
187187.. class :: DictWriter(f, fieldnames, restval='', extrasaction='raise', \
0 commit comments