summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.py
diff options
context:
space:
mode:
authorSkipper Seabold <jsseabold@gmail.com>2012-09-25 18:41:27 -0400
committerSkipper Seabold <jsseabold@gmail.com>2012-09-25 18:41:27 -0400
commit8e0a542830e336a036ab9ca64a7ccf87d1953c40 (patch)
tree64dd94151dad7fbb7f105674f3ec0c53be2aa7f2 /numpy/core/arrayprint.py
parent04fddc0a2d017eef03345f9b3afb0622c9d50584 (diff)
downloadnumpy-8e0a542830e336a036ab9ca64a7ccf87d1953c40.tar.gz
BUG: Use numpystr for arrayprint fallback instead of str
Diffstat (limited to 'numpy/core/arrayprint.py')
-rw-r--r--numpy/core/arrayprint.py2
1 files changed, 1 insertions, 1 deletions
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 = " "