Quote \r\n correctly, remove random indentation (patch #1009384). Thanks

Cherniavsky Beni!
This commit is contained in:
Johannes Gijsbers 2004-08-15 12:23:10 +00:00
parent add33601c2
commit 8d3b9dd09c
1 changed files with 2 additions and 2 deletions

View File

@ -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"