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@python
components: Documentation
messages: 214775
nosy: NRGunby, docs@python
priority: normal
severity: normal
status: open
title: csv documentation is incorrect
type: behavior
versions: Python 2.7, Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21056>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to