mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Combined two excerpt statements
This commit is contained in:
parent
b7aab522e1
commit
696b3819e8
|
@ -48,9 +48,7 @@ def isInt(f):
|
|||
return 1
|
||||
else:
|
||||
return 0
|
||||
except ValueError:
|
||||
return 0
|
||||
except OverflowError:
|
||||
except (ValueError, OverflowError):
|
||||
return 0
|
||||
|
||||
iforms = [1, 3, -11, -12, -21, -22]
|
||||
|
|
Loading…
Reference in New Issue
Block a user