rdiv -> rtruediv in expression
This commit is contained in:
parent
769666892f
commit
03499439dd
@ -320,10 +320,11 @@ class Expression(Explicable, Renderable):
|
|||||||
>>> c = a / b
|
>>> c = a / b
|
||||||
>>> print(c.postfix_tokens)
|
>>> print(c.postfix_tokens)
|
||||||
[1, 2, '+', 3, 4, '+', '/']
|
[1, 2, '+', 3, 4, '+', '/']
|
||||||
|
>>>
|
||||||
"""
|
"""
|
||||||
return self.operate(other, op.div)
|
return self.operate(other, op.div)
|
||||||
|
|
||||||
def __rdiv__(self, other):
|
def __rtruediv__(self, other):
|
||||||
return self.roperate(other, op.div)
|
return self.roperate(other, op.div)
|
||||||
|
|
||||||
def __pow__(self, other):
|
def __pow__(self, other):
|
||||||
|
Loading…
Reference in New Issue
Block a user