mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 10:46:16 +03:00
Simplified code
This commit is contained in:
parent
0a3c8c27ec
commit
3652f431c2
|
@ -239,7 +239,7 @@ def eval(expression, _dict={}, **kw):
|
||||||
args = ops.copy()
|
args = ops.copy()
|
||||||
args.update(_dict)
|
args.update(_dict)
|
||||||
args.update(kw)
|
args.update(kw)
|
||||||
for k, v in list(args.items()):
|
for k, v in args.items():
|
||||||
if hasattr(v, "im"):
|
if hasattr(v, "im"):
|
||||||
args[k] = _Operand(v)
|
args[k] = _Operand(v)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user