]> granicus.if.org Git - python/commitdiff
mention newline= in write doc
authorSkip Montanaro <skip@pobox.com>
Sun, 20 Mar 2011 14:50:43 +0000 (09:50 -0500)
committerSkip Montanaro <skip@pobox.com>
Sun, 20 Mar 2011 14:50:43 +0000 (09:50 -0500)
Doc/library/csv.rst

index dc3236a58b517826f7684902d6516e5ffc679998..1bdfa5be2908b27f03e8748b56e19eed529e7058 100644 (file)
@@ -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