From 8e0a542830e336a036ab9ca64a7ccf87d1953c40 Mon Sep 17 00:00:00 2001 From: Skipper Seabold Date: Tue, 25 Sep 2012 18:41:27 -0400 Subject: BUG: Use numpystr for arrayprint fallback instead of str --- numpy/core/arrayprint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core/arrayprint.py') diff --git a/numpy/core/arrayprint.py b/numpy/core/arrayprint.py index 19be452e5..f3add4463 100644 --- a/numpy/core/arrayprint.py +++ b/numpy/core/arrayprint.py @@ -308,7 +308,7 @@ def _array2string(a, max_line_width, precision, suppress_small, separator=' ', elif issubclass(dtypeobj, _nt.datetime64): format_function = formatdict['datetime'] else: - format_function = formatdict['str'] + format_function = formatdict['numpystr'] # skip over "[" next_line_prefix = " " -- cgit v1.2.1