From: Raymond Hettinger Date: Thu, 12 Jun 2003 03:59:17 +0000 (+0000) Subject: The multiple exception catch should be in a tuple. X-Git-Tag: v2.3c1~482 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=abe14e6f04de7acf72efedf0e59852dcb4389e58;p=thirdparty%2FPython%2Fcpython.git The multiple exception catch should be in a tuple. --- diff --git a/Lib/csv.py b/Lib/csv.py index 851150218fcb..740efd5fb43b 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