From: Johannes Gijsbers Date: Sun, 15 Aug 2004 12:23:10 +0000 (+0000) Subject: Quote \r\n correctly, remove random indentation (patch #1009384). Thanks X-Git-Tag: v2.4a3~243 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d3b9dd09c650554445271c6774299c0ae669f83;p=python Quote \r\n correctly, remove random indentation (patch #1009384). Thanks Cherniavsky Beni! --- diff --git a/Modules/_csv.c b/Modules/_csv.c index 7721c40dab..32806d484d 100644 --- a/Modules/_csv.c +++ b/Modules/_csv.c @@ -1412,7 +1412,7 @@ PyDoc_STRVAR(csv_module_doc, " escapechar = None\n" " doublequote = True\n" " skipinitialspace = False\n" -" lineterminator = '\r\n'\n" +" lineterminator = '\\r\\n'\n" " quoting = QUOTE_MINIMAL\n" "\n" "SETTINGS:\n" @@ -1457,7 +1457,7 @@ PyDoc_STRVAR(csv_reader_doc, "provided by the dialect.\n" "\n" "The returned object is an iterator. Each iteration returns a row\n" - "of the CSV file (which can span multiple input lines):\n"); +"of the CSV file (which can span multiple input lines):\n"); PyDoc_STRVAR(csv_writer_doc, " csv_writer = csv.writer(fileobj [, dialect='excel']\n"