aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-06-12 03:59:17 +0000
committerRaymond Hettinger <python@rcn.com>2003-06-12 03:59:17 +0000
commitabe14e6f04de7acf72efedf0e59852dcb4389e58 (patch)
tree7366c416168358b1ee71e82441e3dd55199a0cc4 /Lib/csv.py
parentDirect readers to CVS logs. (diff)
downloadcpython-abe14e6f04de7acf72efedf0e59852dcb4389e58.tar.gz
cpython-abe14e6f04de7acf72efedf0e59852dcb4389e58.tar.bz2
cpython-abe14e6f04de7acf72efedf0e59852dcb4389e58.zip
The multiple exception catch should be in a tuple.
Diffstat (limited to 'Lib/csv.py')
-rw-r--r--Lib/csv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/csv.py b/Lib/csv.py
index 851150218fc..740efd5fb43 100644
--- a/Lib/csv.py
+++ b/Lib/csv.py
@@ -389,7 +389,7 @@ class Sniffer:
try:
thisType(row[col])
break
- except ValueError, OverflowError:
+ except (ValueError, OverflowError):
pass
else:
# fallback to length of string