summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric/precision.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/oldnumeric/precision.py')
-rw-r--r--numpy/oldnumeric/precision.py15
1 files changed, 10 insertions, 5 deletions
diff --git a/numpy/oldnumeric/precision.py b/numpy/oldnumeric/precision.py
index c773e9478..d7b0344ee 100644
--- a/numpy/oldnumeric/precision.py
+++ b/numpy/oldnumeric/precision.py
@@ -1,13 +1,18 @@
-# Lifted from Precision.py. This is for compatibility only.
-#
-# The character strings are still for "new" NumPy
-# which is the only Incompatibility with Numeric
+"""
+
+Lifted from Precision.py. This is for compatibility only.
+
+The character strings are still for "new" NumPy
+which is the only Incompatibility with Numeric
+
+"""
+from __future__ import division, absolute_import, print_function
__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'}