summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-01-31 21:13:58 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-01-31 21:13:58 +0000
commitc1b9a6e8b560ac77dede465a4c0f527429f24d3d (patch)
tree4a85c4ee8171e71c37115329be8eeb6530824581 /numpy/core/numeric.py
parent41496b7356906d31b61c2f208e622eb4bd0c2ec2 (diff)
downloadnumpy-c1b9a6e8b560ac77dede465a4c0f527429f24d3d.tar.gz
Change name of scalars from <x>_arrtype to <x>scalar
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index ed6ed0538..35aeff94b 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -233,7 +233,7 @@ def array_repr(arr, max_line_width=None, precision=None, suppress_small=None):
if typeless and arr.size:
return cName + "(%s)" % lst
else:
- typename=arr.dtype.type.__name__[:-8]
+ typename=arr.dtype.type.__name__[:-6]
if issubclass(arr.dtype.type, flexible):
if typename not in ['unicode','string','void']:
typename = arr.dtype.type.__name__