summaryrefslogtreecommitdiff
path: root/Lib/csv.py
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
commitdc850869e96eff0e8842fa66213d88afdb4a66ee (patch)
tree26d75539560ba38f534492477220a68443d2d32a /Lib/csv.py
parentceae08a64f3e11e7bdcdf1a0abe03017822947a6 (diff)
downloadcpython-dc850869e96eff0e8842fa66213d88afdb4a66ee.tar.gz
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 851150218f..740efd5fb4 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