summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.py
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-08-23 18:43:19 +0300
committerGitHub <noreply@github.com>2020-08-23 18:43:19 +0300
commit67c68b88e4120a84ec516725e322265446fc50e6 (patch)
treeb5e71c5f68cca7f9f52c67c0a0a287a186693c3f /numpy/core/arrayprint.py
parent97f9fcb599fec377f35be647afdc2d5c2c6ba1f9 (diff)
parent4da857ae94d9ee9ebeeb67e83858ad31bc3c1838 (diff)
downloadnumpy-67c68b88e4120a84ec516725e322265446fc50e6.tar.gz
Merge pull request #17141 from charris/cleanup-strfuncs
MAINT: Make arrayprint str and repr the ndarray defaults.
Diffstat (limited to 'numpy/core/arrayprint.py')
-rw-r--r--numpy/core/arrayprint.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/core/arrayprint.py b/numpy/core/arrayprint.py
index 5d9642ea8..ad1530419 100644
--- a/numpy/core/arrayprint.py
+++ b/numpy/core/arrayprint.py
@@ -1628,6 +1628,3 @@ def set_string_function(f, repr=True):
return multiarray.set_string_function(_default_array_str, 0)
else:
return multiarray.set_string_function(f, repr)
-
-set_string_function(_default_array_str, False)
-set_string_function(_default_array_repr, True)