Commit b04cf62c authored by Taddeus Kroes's avatar Taddeus Kroes

Removed a bunch of unused imports.

parent 9146b782
from itertools import combinations
from .utils import find_variables
from .logarithmic import ln
from .goniometry import sin, cos
......
from itertools import combinations, product
from .utils import least_common_multiple, partition
from ..node import ExpressionLeaf as L, Scope, negate, OP_DIV, OP_ADD, \
OP_MUL, OP_POW, nary_node, negate
from ..node import ExpressionLeaf as L, Scope, OP_DIV, OP_ADD, OP_MUL, \
OP_POW, nary_node, negate
from ..possibilities import Possibility as P, MESSAGES
from ..translate import _
......
from .utils import is_fraction
from ..node import ExpressionNode as N, ExpressionLeaf as L, Scope, OP_ADD, \
OP_POW, OP_MUL, OP_DIV, OP_SIN, OP_COS, OP_TAN, OP_SQRT, PI, \
TYPE_OPERATOR
from ..node import ExpressionNode as N, ExpressionLeaf as L, OP_ADD, OP_MUL, \
OP_DIV, OP_SIN, OP_COS, OP_TAN, OP_SQRT, PI, TYPE_OPERATOR
from ..possibilities import Possibility as P, MESSAGES
from ..translate import _
......
......@@ -99,7 +99,6 @@ def match_divide_numerics(node):
assert node.is_op(OP_DIV)
n, d = node
divide = False
nv, dv = n.value, d.value
if n.is_int() and d.is_int():
......
from itertools import product, combinations
from ..node import Scope, OP_ADD, OP_MUL
from ..node import Scope, OP_MUL
from ..possibilities import Possibility as P, MESSAGES
from ..translate import _
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment