We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d359b8 commit 32dcf42Copy full SHA for 32dcf42
Doc/library/csv.rst
@@ -390,8 +390,10 @@ Reader objects (:class:`DictReader` instances and objects returned by the
390
391
.. method:: csvreader.__next__()
392
393
- Return the next row of the reader's iterable object as a list, parsed according
394
- to the current dialect. Usually you should call this as ``next(reader)``.
+ Return the next row of the reader's iterable object as a list (if the object
+ was returned from :func:`reader`) or a dict (if it is a :class:`DictReader`
395
+ instance), parsed according to the current dialect. Usually you should call
396
+ this as ``next(reader)``.
397
398
399
Reader objects have the following public attributes:
0 commit comments