Commit 8d3b9dd0 authored by Johannes Gijsbers's avatar Johannes Gijsbers

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

Cherniavsky Beni!
parent add33601
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment