(original) (raw)

changeset: 68749:592fd5b15639 user: Skip Montanaro skip@pobox.com date: Sun Mar 20 09:50:43 2011 -0500 files: Doc/library/csv.rst description: mention newline= in write doc diff -r ed0d1e07ce79 -r 592fd5b15639 Doc/library/csv.rst --- a/Doc/library/csv.rst Sun Mar 20 10:27:48 2011 -0400 +++ b/Doc/library/csv.rst Sun Mar 20 09:50:43 2011 -0500 @@ -79,8 +79,8 @@ 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 /skip@pobox.com