summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Gijsbers <jlg@dds.nl>2004-08-15 12:23:10 (GMT)
committerJohannes Gijsbers <jlg@dds.nl>2004-08-15 12:23:10 (GMT)
commit8d3b9dd09c650554445271c6774299c0ae669f83 (patch)
treef42e7c94325f4183edd5a7d99497e72264ee470e
parentadd33601c2826a151718da295b15fbb8cf656e53 (diff)
downloadcpython-8d3b9dd09c650554445271c6774299c0ae669f83.zip
cpython-8d3b9dd09c650554445271c6774299c0ae669f83.tar.gz
cpython-8d3b9dd09c650554445271c6774299c0ae669f83.tar.bz2
Quote \r\n correctly, remove random indentation (patch #1009384). Thanks
Cherniavsky Beni!
-rw-r--r--Modules/_csv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_csv.c b/Modules/_csv.c
index 7721c40..32806d4 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"