diff options
author | R David Murray <rdmurray@bitdance.com> | 2011-03-20 15:19:20 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2011-03-20 15:19:20 (GMT) |
commit | 38a04e51f60c6b7dfca354d37fb95cb0961c02c6 (patch) | |
tree | 4335cf272159a83fa4897c4df0fc783380ce5ee9 /Doc/library/csv.rst | |
parent | fb8b06736008054ae72630aea5a2f3a3db2052f5 (diff) | |
parent | 9c0d5eaa705ca3ebaab395cc59d24d3b9c0289f4 (diff) | |
download | cpython-38a04e51f60c6b7dfca354d37fb95cb0961c02c6.zip cpython-38a04e51f60c6b7dfca354d37fb95cb0961c02c6.tar.gz cpython-38a04e51f60c6b7dfca354d37fb95cb0961c02c6.tar.bz2 |
Merge markup fixes for #7198 patch.
Diffstat (limited to 'Doc/library/csv.rst')
-rw-r--r-- | Doc/library/csv.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index 05aaaed..edbe726 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=''`` [1]_. 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 @@ -485,5 +485,5 @@ done:: .. [1] If ``newline=''`` is not specified, newlines embedded inside quoted fields 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. |