diff options
Diffstat (limited to 'Lib/csv.py')
-rw-r--r-- | Lib/csv.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -419,7 +419,7 @@ class Sniffer: else: # attempt typecast try: colType(header[col]) - except ValueError, TypeError: + except (ValueError, TypeError): hasHeader += 1 else: hasHeader -= 1 |