This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sjmachin
Recipients baloan, eric.araujo, r.david.murray, sjmachin, skip.montanaro, zacktu
Date 2011-01-20.06:43:34
SpamBayes Score 5.387846e-05
Marked as misclassified No
Message-id <1295505819.38.0.863088601853.issue7198@psf.upfronthosting.co.za>
In-reply-to
Content
"docpatch" for 3.x csv docs:

In the csv.writer docs, insert the sentence "If csvfile is a file object, it should be opened with newline=''." immediately after the sentence "csvfile can be any object with a write() method."

In the closely-following example, change the open call from "open('eggs.csv', 'w')" to "open('eggs.csv', 'w', newline='')".

In section 13.1.5 Examples, there are 2 reader cases and 1 writer case that likewise need inserting ", newline=''" in the open call.
History
Date User Action Args
2011-01-20 06:43:39sjmachinsetrecipients: + sjmachin, skip.montanaro, baloan, eric.araujo, r.david.murray, zacktu
2011-01-20 06:43:39sjmachinsetmessageid: <1295505819.38.0.863088601853.issue7198@psf.upfronthosting.co.za>
2011-01-20 06:43:34sjmachinlinkissue7198 messages
2011-01-20 06:43:34sjmachincreate