Explorar o código

Fixed typo in ExpressionBase magic method __div__.

Sander Mathijs van Veen %!s(int64=14) %!d(string=hai) anos
pai
achega
1b1b7bcf93
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/node.py

+ 1 - 1
src/node.py

@@ -129,7 +129,7 @@ class ExpressionBase(object):
         return ExpressionNode('*', self, to_expression(other))
 
     def __div__(self, other):
-        return ExpressionNode('-', self, to_expression(other))
+        return ExpressionNode('/', self, to_expression(other))
 
     def __pow__(self, other):
         return ExpressionNode('^', self, to_expression(other))