diff options
author | Raymond Hettinger <python@rcn.com> | 2003-06-12 03:59:17 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-06-12 03:59:17 (GMT) |
commit | abe14e6f04de7acf72efedf0e59852dcb4389e58 (patch) | |
tree | 7366c416168358b1ee71e82441e3dd55199a0cc4 | |
parent | fe04afc6297af6231fe1e94695cad80c2ddc960e (diff) | |
download | cpython-abe14e6f04de7acf72efedf0e59852dcb4389e58.zip cpython-abe14e6f04de7acf72efedf0e59852dcb4389e58.tar.gz cpython-abe14e6f04de7acf72efedf0e59852dcb4389e58.tar.bz2 |
The multiple exception catch should be in a tuple.
-rw-r--r-- | Lib/csv.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -389,7 +389,7 @@ class Sniffer: try: thisType(row[col]) break - except ValueError, OverflowError: + except (ValueError, OverflowError): pass else: # fallback to length of string |