summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric/precision.py
diff options
context:
space:
mode:
authorJarrod Millman <millman@berkeley.edu>2007-10-29 14:37:37 +0000
committerJarrod Millman <millman@berkeley.edu>2007-10-29 14:37:37 +0000
commit06b316521a47470e0cce864e142c9372d14637dc (patch)
treef7a0867626c44d1f5f83fc8a6e884c9f2d24884c /numpy/oldnumeric/precision.py
parent3cb37bbdb4bdf773b7bc0098b8d0cf940288a883 (diff)
downloadnumpy-06b316521a47470e0cce864e142c9372d14637dc.tar.gz
using faster string methods rather than deprecated string module
Diffstat (limited to 'numpy/oldnumeric/precision.py')
-rw-r--r--numpy/oldnumeric/precision.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/oldnumeric/precision.py b/numpy/oldnumeric/precision.py
index f495992a8..51dd77454 100644
--- a/numpy/oldnumeric/precision.py
+++ b/numpy/oldnumeric/precision.py
@@ -7,8 +7,8 @@ __all__ = ['Character', 'Complex', 'Float',
'PrecisionError', 'PyObject', 'Int', 'UInt',
'UnsignedInteger', 'string', 'typecodes', 'zeros']
-import string
from functions import zeros
+import string # for backwards compatibility
typecodes = {'Character':'c', 'Integer':'bhil', 'UnsignedInteger':'BHI', 'Float':'fd', 'Complex':'FD'}