]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#16053: document csv.Dialect.strict. Patch by Kushal Das.
authorEzio Melotti <ezio.melotti@gmail.com>
Sun, 18 Nov 2012 10:55:35 +0000 (12:55 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Sun, 18 Nov 2012 10:55:35 +0000 (12:55 +0200)
Doc/library/csv.rst

index 1fbc5f2bb4056a195caaa63d8a6c0b6c3040d2a4..66b2fb4e09b676185d6ae7fa964437949142392e 100644 (file)
@@ -355,6 +355,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
 --------------