From 03499439dd0996552e912f5db64bf0df3f864a1f Mon Sep 17 00:00:00 2001 From: Lafrite Date: Fri, 27 Feb 2015 16:56:43 +0100 Subject: [PATCH] rdiv -> rtruediv in expression --- pymath/expression.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pymath/expression.py b/pymath/expression.py index 00e63af..4d1bc2a 100644 --- a/pymath/expression.py +++ b/pymath/expression.py @@ -320,10 +320,11 @@ class Expression(Explicable, Renderable): >>> c = a / b >>> print(c.postfix_tokens) [1, 2, '+', 3, 4, '+', '/'] + >>> """ return self.operate(other, op.div) - def __rdiv__(self, other): + def __rtruediv__(self, other): return self.roperate(other, op.div) def __pow__(self, other):