- def wrapper(expr1, expr2, *exprs):
- exprs = (expr1, expr2) + exprs
- for expr in exprs:
- if not isinstance(expr, LinExpr):
- if isinstance(expr, numbers.Rational):
- expr = Rational(expr)
+ def wrapper(expression1, expression2, *expressions):
+ expressions = (expression1, expression2) + expressions
+ for expression in expressions:
+ if not isinstance(expression, LinExpr):
+ if isinstance(expression, numbers.Rational):
+ expression = Rational(expression)