[3.6] bpo-21056: Document return type of next method of csv reader (GH-146) (#1749)
(cherry picked from commit d618c8c6d31b9b288f8a070417683974eb98e3ba)
diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst
index 52a8a31..43714f7 100644
--- a/Doc/library/csv.rst
+++ b/Doc/library/csv.rst
@@ -401,8 +401,10 @@
.. method:: csvreader.__next__()
- Return the next row of the reader's iterable object as a list, parsed according
- 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`
+ instance), parsed according to the current dialect. Usually you should call
+ this as ``next(reader)``.
Reader objects have the following public attributes: