summaryrefslogtreecommitdiffstats
path: root/Lib/csv.py
diff options
context:
space:
mode:
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 8511502..740efd5 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