Ver Fonte

Code cleanup.

Taddeus Kroes há 14 anos atrás
pai
commit
913976a078
1 ficheiros alterados com 0 adições e 11 exclusões
  1. 0 11
      src/rules/numerics.py

+ 0 - 11
src/rules/numerics.py

@@ -69,17 +69,6 @@ def add_numerics(root, args):
 MESSAGES[add_numerics] = _('Add the constants {2} and {3}.')
 MESSAGES[add_numerics] = _('Add the constants {2} and {3}.')
 
 
 
 
-#def match_subtract_numerics(node):
-#    """
-#    3 - 2      ->  2.0
-#    3.0 - 2    ->  1.0
-#    3 - 2.0    ->  1.0
-#    3.0 - 2.0  ->  1.0
-#    """
-#    # TODO: This should be handled by match_combine_polynomes
-#    assert node.is_op(OP_MUL)
-
-
 def match_divide_numerics(node):
 def match_divide_numerics(node):
     """
     """
     Combine two constants to a single constant in a division, if it does not
     Combine two constants to a single constant in a division, if it does not