cpython: 592fd5b15639 (original) (raw)
Mercurial > cpython
changeset 68749:592fd5b15639
mention newline= in write doc
Skip Montanaro skip@pobox.com | |
---|---|
date | Sun, 20 Mar 2011 09:50:43 -0500 |
parents | ed0d1e07ce79 |
children | 6017c431ff0d 07c89f2a0636 |
files | Doc/library/csv.rst |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-)[+] [-] Doc/library/csv.rst 4 |
line wrap: on
line diff
--- a/Doc/library/csv.rst
+++ b/Doc/library/csv.rst
@@ -79,8 +79,8 @@ The :mod:csv
module defines the follow
Return a writer object responsible for converting the user's data into delimited
strings on the given file-like object. csvfile can be any object with a
- :func:
write
method. If csvfile is a file object, it should be opened with - newline='' [1]_. An optional dialect
- :func:
write
method. If csvfile is a file object, - it should be opened with
newline=''
. [#]_ An optional dialect parameter can be given which is used to define a set of parameters specific to a particular CSV dialect. It may be an instance of a subclass of the :class:Dialect
class or one of the strings returned by the