summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric/precision.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/oldnumeric/precision.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/oldnumeric/precision.py')
-rw-r--r--numpy/oldnumeric/precision.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/oldnumeric/precision.py b/numpy/oldnumeric/precision.py
index c6579f302..7c85f21fc 100644
--- a/numpy/oldnumeric/precision.py
+++ b/numpy/oldnumeric/precision.py
@@ -6,13 +6,13 @@ The character strings are still for "new" NumPy
which is the only Incompatibility with Numeric
"""
-from __future__ import division
+from __future__ import division, absolute_import
__all__ = ['Character', 'Complex', 'Float',
'PrecisionError', 'PyObject', 'Int', 'UInt',
'UnsignedInt', 'UnsignedInteger', 'string', 'typecodes', 'zeros']
-from functions import zeros
+from .functions import zeros
import string # for backwards compatibility
typecodes = {'Character':'c', 'Integer':'bhil', 'UnsignedInteger':'BHIL', 'Float':'fd', 'Complex':'FD'}