Kaydet (Commit) abe14e6f authored tarafından Raymond Hettinger's avatar Raymond Hettinger

The multiple exception catch should be in a tuple.

üst fe04afc6
......@@ -389,7 +389,7 @@ class Sniffer:
try:
thisType(row[col])
break
except ValueError, OverflowError:
except (ValueError, OverflowError):
pass
else:
# fallback to length of string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment