[Python-checkins] cpython (merge 3.1 -> 3.2): Really merge #7198 (original) (raw)

r.david.murray python-checkins at python.org
Sun Mar 20 15:30:25 CET 2011


http://hg.python.org/cpython/rev/fa0563f3b7f7 changeset: 68747:fa0563f3b7f7 branch: 3.2 parent: 68744:5d4800b10acd parent: 68746:9201455f950b user: R David Murray <rdmurray at bitdance.com> date: Sun Mar 20 10:25:29 2011 -0400 summary: Really merge #7198

Changeset ab27f16f707a was messed up by a rebase (as were 959f666470cc and 9d1b1a95bc8f) and the patch only got applied to default.

files: Doc/library/csv.rst

diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -52,7 +52,7 @@ csvfile can be any object which supports the :term:iterator protocol and returns a string each time its :meth:!__next__ method is called --- :term:file objects <file object> and list objects are both suitable. If csvfile is a file object,

@@ -427,7 +428,7 @@ Reading a file with an alternate format::

import csv

@@ -435,7 +436,7 @@ The corresponding simplest possible writing example is::

import csv

@@ -457,7 +458,7 @@

import csv
csv.register_dialect('unixpwd', delimiter=':', quoting=csv.QUOTE_NONE)

A slightly more advanced use of the reader --- catching and reporting errors:: @@ -482,7 +483,7 @@

.. rubric:: Footnotes

-.. [#] If newline='' is not specified, newlines embedded inside quoted fields

-- Repository URL: http://hg.python.org/cpython



More information about the Python-checkins mailing list