Commit 9c0d5eaa authored by R David Murray's avatar R David Murray

Markup fixes for #7198 patch.

parent f453debb
...@@ -79,8 +79,8 @@ The :mod:`csv` module defines the following functions: ...@@ -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 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 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 :func:`write` method. If *csvfile* is a file object, it should be opened with
newline='' [1]_. An optional *dialect* ``newline=''`` [1]_. An optional *dialect*
parameter can be given which is used to define a set of parameters specific to a 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 particular CSV dialect. It may be an instance of a subclass of the
:class:`Dialect` class or one of the strings returned by the :class:`Dialect` class or one of the strings returned by the
...@@ -466,5 +466,5 @@ done:: ...@@ -466,5 +466,5 @@ done::
.. [1] If ``newline=''`` is not specified, newlines embedded inside quoted fields .. [1] If ``newline=''`` is not specified, newlines embedded inside quoted fields
will not be interpreted correctly, and on platforms that use ``\r\n`` linendings will not be interpreted correctly, and on platforms that use ``\r\n`` linendings
on write an extra `\\r` will be added. It should always be safe to specify on write an extra ``\r`` will be added. It should always be safe to specify
``newline=''``, since the csv module does its own (universal) newline handling. ``newline=''``, since the csv module does its own (universal) newline handling.
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