Simplified code

This commit is contained in:
Andrew Murray 2023-10-28 14:22:39 +11:00
parent 0a3c8c27ec
commit 3652f431c2

View File

@ -239,7 +239,7 @@ def eval(expression, _dict={}, **kw):
args = ops.copy()
args.update(_dict)
args.update(kw)
for k, v in list(args.items()):
for k, v in args.items():
if hasattr(v, "im"):
args[k] = _Operand(v)