summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-05-17 10:35:46 +0100
committerGitHub <noreply@github.com>2017-05-17 10:35:46 +0100
commit692655e77b65a9186bda7a701062abd6b62d4ca9 (patch)
tree77a4c6e1fcb3eea3588c178eeb0fdf98b8ccfab1 /numpy/core/numeric.py
parentd4eaa2c01801ca2ce46b0c8b345367a54c8dde4b (diff)
parentd2b06fe879f5b2b14de3dad0f517561a0c815df0 (diff)
downloadnumpy-692655e77b65a9186bda7a701062abd6b62d4ca9.tar.gz
Merge pull request #8983 from ahaldane/fix0d_array2string_s
ENH: str/repr fixed for 0d-arrays
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):