Commit 5b5394c6 authored by Skip Montanaro's avatar Skip Montanaro

mention newline= in write doc

parent eb887965
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment