diff options
author | njsmith <njs@pobox.com> | 2013-04-02 08:53:45 -0700 |
---|---|---|
committer | njsmith <njs@pobox.com> | 2013-04-02 08:53:45 -0700 |
commit | a939f2aa83e7d37d5e35e7c2a8c539c59f682598 (patch) | |
tree | a5d3044d62baa8f52b2d7f42cfde58efd364eaf1 /numpy/polynomial/legendre.py | |
parent | 5b74363e020f90f09dd41916dfc749d56421b3fa (diff) | |
parent | 670b12649e34164514fc4981d8fbacfadf1f389e (diff) | |
download | numpy-a939f2aa83e7d37d5e35e7c2a8c539c59f682598.tar.gz |
Merge pull request #3178 from charris/2to3-apply-import-fixer
2to3 apply import fixer
Diffstat (limited to 'numpy/polynomial/legendre.py')
-rw-r--r-- | numpy/polynomial/legendre.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/polynomial/legendre.py b/numpy/polynomial/legendre.py index 5b88b6287..ba49cbc57 100644 --- a/numpy/polynomial/legendre.py +++ b/numpy/polynomial/legendre.py @@ -81,13 +81,13 @@ numpy.polynomial.hermite numpy.polynomial.hermite_e """ -from __future__ import division +from __future__ import division, absolute_import import numpy as np import numpy.linalg as la -import polyutils as pu +from . import polyutils as pu import warnings -from polytemplate import polytemplate +from .polytemplate import polytemplate __all__ = ['legzero', 'legone', 'legx', 'legdomain', 'legline', 'legadd', 'legsub', 'legmulx', 'legmul', 'legdiv', 'legpow', 'legval', @@ -191,7 +191,7 @@ def leg2poly(c) : """ - from polynomial import polyadd, polysub, polymulx + from .polynomial import polyadd, polysub, polymulx [c] = pu.as_series([c]) n = len(c) |