mirror of
https://github.com/python/cpython.git
synced 2025-09-30 12:21:51 +00:00
[3.6] bpo-21056: Document return type of next method of csv reader (GH-146) (#1749)
(cherry picked from commit d618c8c6d3
)
This commit is contained in:
parent
07a40a1623
commit
6ef0882303
1 changed files with 4 additions and 2 deletions
|
@ -401,8 +401,10 @@ Reader objects (:class:`DictReader` instances and objects returned by the
|
||||||
|
|
||||||
.. method:: csvreader.__next__()
|
.. method:: csvreader.__next__()
|
||||||
|
|
||||||
Return the next row of the reader's iterable object as a list, parsed according
|
Return the next row of the reader's iterable object as a list (if the object
|
||||||
to the current dialect. Usually you should call this as ``next(reader)``.
|
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:
|
Reader objects have the following public attributes:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue