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 .utils import find_variables
from .logarithmic import ln from .logarithmic import ln
from .goniometry import sin, cos from .goniometry import sin, cos
......
from itertools import combinations, product from itertools import combinations, product
from .utils import least_common_multiple, partition from .utils import least_common_multiple, partition
from ..node import ExpressionLeaf as L, Scope, negate, OP_DIV, OP_ADD, \ from ..node import ExpressionLeaf as L, Scope, OP_DIV, OP_ADD, OP_MUL, \
OP_MUL, OP_POW, nary_node, negate OP_POW, nary_node, negate
from ..possibilities import Possibility as P, MESSAGES from ..possibilities import Possibility as P, MESSAGES
from ..translate import _ from ..translate import _
......
from .utils import is_fraction from ..node import ExpressionNode as N, ExpressionLeaf as L, OP_ADD, OP_MUL, \
from ..node import ExpressionNode as N, ExpressionLeaf as L, Scope, OP_ADD, \ OP_DIV, OP_SIN, OP_COS, OP_TAN, OP_SQRT, PI, TYPE_OPERATOR
OP_POW, OP_MUL, OP_DIV, OP_SIN, OP_COS, OP_TAN, OP_SQRT, PI, \
TYPE_OPERATOR
from ..possibilities import Possibility as P, MESSAGES from ..possibilities import Possibility as P, MESSAGES
from ..translate import _ from ..translate import _
......
...@@ -99,7 +99,6 @@ def match_divide_numerics(node): ...@@ -99,7 +99,6 @@ def match_divide_numerics(node):
assert node.is_op(OP_DIV) assert node.is_op(OP_DIV)
n, d = node n, d = node
divide = False
nv, dv = n.value, d.value nv, dv = n.value, d.value
if n.is_int() and d.is_int(): if n.is_int() and d.is_int():
......
from itertools import product, combinations from ..node import Scope, OP_MUL
from ..node import Scope, OP_ADD, OP_MUL
from ..possibilities import Possibility as P, MESSAGES from ..possibilities import Possibility as P, MESSAGES
from ..translate import _ 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