Message214775
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. |
|
Date |
User |
Action |
Args |
2014-03-25 04:11:43 | NRGunby | set | recipients:
+ NRGunby, docs@python |
2014-03-25 04:11:43 | NRGunby | set | messageid: <1395720703.0.0.19592596057.issue21056@psf.upfronthosting.co.za> |
2014-03-25 04:11:42 | NRGunby | link | issue21056 messages |
2014-03-25 04:11:42 | NRGunby | create | |
|