diff options
author | Jarrod Millman <millman@berkeley.edu> | 2007-12-29 02:21:56 +0000 |
---|---|---|
committer | Jarrod Millman <millman@berkeley.edu> | 2007-12-29 02:21:56 +0000 |
commit | 72297ed57ac666c6ef50d5c88ef486a94f7fc080 (patch) | |
tree | 9ee064e4147d76e2b154e35103a7f46a6b3081c6 /numpy/lib/getlimits.py | |
parent | 423b1953b1742a2b71cc766ff08a919707f19e1c (diff) | |
download | numpy-72297ed57ac666c6ef50d5c88ef486a94f7fc080.tar.gz |
more janitorial work
Diffstat (limited to 'numpy/lib/getlimits.py')
-rw-r--r-- | numpy/lib/getlimits.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/getlimits.py b/numpy/lib/getlimits.py index 00c3ea846..89b40203f 100644 --- a/numpy/lib/getlimits.py +++ b/numpy/lib/getlimits.py @@ -7,7 +7,7 @@ from machar import MachAr import numpy.core.numeric as numeric import numpy.core.numerictypes as ntypes from numpy.core.numeric import array -import numpy as N +import numpy as np def _frz(a): """fix rank-0 --> rank-1""" @@ -128,7 +128,7 @@ class iinfo: _max_vals = {} def __init__(self, type): - self.dtype = N.dtype(type) + self.dtype = np.dtype(type) self.kind = self.dtype.kind self.bits = self.dtype.itemsize * 8 self.key = "%s%d" % (self.kind, self.bits) |