From c1b9a6e8b560ac77dede465a4c0f527429f24d3d Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Tue, 31 Jan 2006 21:13:58 +0000 Subject: Change name of scalars from _arrtype to scalar --- numpy/core/numeric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core/numeric.py') 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__ -- cgit v1.2.1