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 @@ def has_header(self, sample): try: thisType(row[col]) break - except ValueError, OverflowError: + except (ValueError, OverflowError): pass else: # fallback to length of string