From: Ezio Melotti <ezio.melotti@gmail.com>
Date: Sun, 18 Nov 2012 10:55:35 +0000 (+0200)
Subject: #16053: document csv.Dialect.strict.  Patch by Kushal Das.
X-Git-Tag: v3.3.1rc1~621^2
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a69be2803b25c226a439152ec680d7ee6f5e57f6;p=python

#16053: document csv.Dialect.strict.  Patch by Kushal Das.
---

diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst
index d8df7fca27..90261e2b95 100644
--- a/Doc/library/csv.rst
+++ b/Doc/library/csv.rst
@@ -341,6 +341,11 @@ Dialects support the following attributes:
    The default is :const:`False`.
 
 
+.. attribute:: Dialect.strict
+
+   When ``True``, raise exception :exc:`Error` on bad CSV input.
+   The default is ``False``.
+
 Reader Objects
 --------------