[issue21056] csv documentation is incorrect

NRGunby report at bugs.python.org
Tue Mar 25 05:11:43 CET 2014


New submission from NRGunby:

The documentation for the csv reader objects next() method is incorrect. It states '
csvreader.next()

Return the next row of the reader’s iterable object as a list, parsed according to the current dialect.'

Either the documentation for DictReader objects needs to be be made separate from normal reader objects, or this needs to be amended to say '
csvreader.next()

Return the next row of the reader’s iterable object as a list (if reader) or dict (if DictReader), parsed according to the current dialect.
'
 
I observed this in the 2.7 online docs, found it to be the case in the 3.4 online docs as well, and haven't checked other versions but assume it's the case.

----------
assignee: docs at python
components: Documentation
messages: 214775
nosy: NRGunby, docs at python
priority: normal
severity: normal
status: open
title: csv documentation is incorrect
type: behavior
versions: Python 2.7, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21056>
_______________________________________


More information about the Python-bugs-list mailing list