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