summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
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__