diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2017-05-17 10:35:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-17 10:35:46 +0100 |
commit | 692655e77b65a9186bda7a701062abd6b62d4ca9 (patch) | |
tree | 77a4c6e1fcb3eea3588c178eeb0fdf98b8ccfab1 /numpy/core/numeric.py | |
parent | d4eaa2c01801ca2ce46b0c8b345367a54c8dde4b (diff) | |
parent | d2b06fe879f5b2b14de3dad0f517561a0c815df0 (diff) | |
download | numpy-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.py | 2 |
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): |