summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polynomial.py
diff options
context:
space:
mode:
authornjsmith <njs@pobox.com>2013-04-02 08:53:45 -0700
committernjsmith <njs@pobox.com>2013-04-02 08:53:45 -0700
commita939f2aa83e7d37d5e35e7c2a8c539c59f682598 (patch)
treea5d3044d62baa8f52b2d7f42cfde58efd364eaf1 /numpy/polynomial/polynomial.py
parent5b74363e020f90f09dd41916dfc749d56421b3fa (diff)
parent670b12649e34164514fc4981d8fbacfadf1f389e (diff)
downloadnumpy-a939f2aa83e7d37d5e35e7c2a8c539c59f682598.tar.gz
Merge pull request #3178 from charris/2to3-apply-import-fixer
2to3 apply import fixer
Diffstat (limited to 'numpy/polynomial/polynomial.py')
-rw-r--r--numpy/polynomial/polynomial.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/polynomial/polynomial.py b/numpy/polynomial/polynomial.py
index e174fdd96..b9a14972e 100644
--- a/numpy/polynomial/polynomial.py
+++ b/numpy/polynomial/polynomial.py
@@ -52,7 +52,7 @@ See also
`numpy.polynomial`
"""
-from __future__ import division
+from __future__ import division, absolute_import
__all__ = ['polyzero', 'polyone', 'polyx', 'polydomain', 'polyline',
'polyadd', 'polysub', 'polymulx', 'polymul', 'polydiv', 'polypow',
@@ -62,9 +62,9 @@ __all__ = ['polyzero', 'polyone', 'polyx', 'polydomain', 'polyline',
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
polytrim = pu.trimcoef