diff options
author | Skip Montanaro <skip@pobox.com> | 2011-03-20 14:50:43 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2011-03-20 14:50:43 (GMT) |
commit | 5b5394c6dfa76eb3d9f3448f5410d230ef8cd948 (patch) | |
tree | 9f429f9cea1dd5e27f2ba7a176c6ed5d9e831db6 /Doc/library | |
parent | eb887965f72d1737404a6224bf9e71d78df2cfbd (diff) | |
download | cpython-5b5394c6dfa76eb3d9f3448f5410d230ef8cd948.zip cpython-5b5394c6dfa76eb3d9f3448f5410d230ef8cd948.tar.gz cpython-5b5394c6dfa76eb3d9f3448f5410d230ef8cd948.tar.bz2 |
mention newline= in write doc
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/csv.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index dc3236a..1bdfa5b 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -79,8 +79,8 @@ The :mod:`csv` module defines the following functions: 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 |