diff options
author | Andrew McNamara <andrewm@object-craft.com.au> | 2005-01-07 04:42:45 (GMT) |
---|---|---|
committer | Andrew McNamara <andrewm@object-craft.com.au> | 2005-01-07 04:42:45 (GMT) |
commit | 1196cf185ca4e5a74edc65f4b1e46cb60ff645a3 (patch) | |
tree | 678a7acd5ad8e24ffe2755ec432ad775e0e225fd /Lib/csv.py | |
parent | 72b83c86a9c992bc7635dbeaa08bfa95ec033236 (diff) | |
download | cpython-1196cf185ca4e5a74edc65f4b1e46cb60ff645a3.zip cpython-1196cf185ca4e5a74edc65f4b1e46cb60ff645a3.tar.gz cpython-1196cf185ca4e5a74edc65f4b1e46cb60ff645a3.tar.bz2 |
Improved the implementation of the internal "dialect" type. The new
implementation features better error reporting, and better compliance
with the PEP.
Diffstat (limited to 'Lib/csv.py')
-rw-r--r-- | Lib/csv.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,7 +68,7 @@ class Dialect: elif not isinstance(self.lineterminator, str): errors.append("lineterminator must be a string") - if self.doublequote not in (True, False): + if self.doublequote not in (True, False) and self.quoting != QUOTE_NONE: errors.append("doublequote parameter must be True or False") if self.skipinitialspace not in (True, False): |