summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorAllan Haldane <allan.haldane@gmail.com>2017-04-24 19:38:59 -0400
committerAllan Haldane <allan.haldane@gmail.com>2017-05-16 23:34:57 -0400
commitd2b06fe879f5b2b14de3dad0f517561a0c815df0 (patch)
treec7d739097d75329aeaab5a9a28a669337b583bb1 /numpy/core/numeric.py
parentc61044412938fc7a41930688cf85e6fee5208044 (diff)
downloadnumpy-d2b06fe879f5b2b14de3dad0f517561a0c815df0.tar.gz
ENH: str/repr fixed for 0d-arrays
0d arrays now use the arrayprint.py formatters to print themselves. Deprecates 'style' argument to array2string. Integer scalars are no longer printed using the function set with ``np.set_print_function``.
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 6b4a93ce0..1dde02400 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -1936,7 +1936,7 @@ def array_str(a, max_line_width=None, precision=None, suppress_small=None):
'[0 1 2]'
"""
- return array2string(a, max_line_width, precision, suppress_small, ' ', "", str)
+ return array2string(a, max_line_width, precision, suppress_small, ' ', "")
def set_string_function(f, repr=True):