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