summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-27 07:27:06 (GMT)
committerGeorg Brandl <georg@python.org>2010-10-27 07:27:06 (GMT)
commit7424dd359c9ffcd9a2b866f62fafda6d3a99b4b1 (patch)
treef3cd5d315c397839b4ab2c96612708c0b73f67dd /Doc
parent347fe5ce3c119f30bd228d5e2678fee5013ca052 (diff)
downloadcpython-7424dd359c9ffcd9a2b866f62fafda6d3a99b4b1.zip
cpython-7424dd359c9ffcd9a2b866f62fafda6d3a99b4b1.tar.gz
cpython-7424dd359c9ffcd9a2b866f62fafda6d3a99b4b1.tar.bz2
#5975: add unix_dialect to csv module.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/csv.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst
index 8ca1741..ea18349 100644
--- a/Doc/library/csv.rst
+++ b/Doc/library/csv.rst
@@ -187,6 +187,15 @@ The :mod:`csv` module defines the following classes:
TAB-delimited file. It is registered with the dialect name ``'excel-tab'``.
+.. class:: unix_dialect()
+
+ The :class:`unix_dialect` class defines the usual properties of a CSV file
+ generated on UNIX systems, i.e. using ``'\n'`` as line terminator and quoting
+ all fields. It is registered with the dialect name ``'unix'``.
+
+ .. versionadded:: 3.2
+
+
.. class:: Sniffer()
The :class:`Sniffer` class is used to deduce the format of a CSV file.