Kaydet (Commit) d618c8c6 authored tarafından Amit Kumar's avatar Amit Kumar Kaydeden (comit) Mariatta

bpo-21056: Document return type of next method of csv reader (#146)

üst 6b4be195
......@@ -401,8 +401,10 @@ Reader objects (:class:`DictReader` instances and objects returned by the
.. 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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment