commit | abe14e6f04de7acf72efedf0e59852dcb4389e58 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Thu Jun 12 03:59:17 2003 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Thu Jun 12 03:59:17 2003 +0000 |
tree | 7366c416168358b1ee71e82441e3dd55199a0cc4 | |
parent | fe04afc6297af6231fe1e94695cad80c2ddc960e [diff] [blame] |
The multiple exception catch should be in a tuple.
diff --git a/Lib/csv.py b/Lib/csv.py index 8511502..740efd5 100644 --- a/Lib/csv.py +++ b/Lib/csv.py
@@ -389,7 +389,7 @@ try: thisType(row[col]) break - except ValueError, OverflowError: + except (ValueError, OverflowError): pass else: # fallback to length of string