diff options
Diffstat (limited to 'numpy/lib/polynomial.py')
-rw-r--r-- | numpy/lib/polynomial.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/lib/polynomial.py b/numpy/lib/polynomial.py index 002b2859a..850d5799b 100644 --- a/numpy/lib/polynomial.py +++ b/numpy/lib/polynomial.py @@ -1147,6 +1147,8 @@ class poly1d(object): other = poly1d(other) return polydiv(self, other) + __truediv__ = __div__ + def __rdiv__(self, other): if isscalar(other): return poly1d(other/self.coeffs) |