diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2020-08-22 11:23:55 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2020-08-22 17:53:33 -0600 |
commit | 4da857ae94d9ee9ebeeb67e83858ad31bc3c1838 (patch) | |
tree | bdbcba316148652c55f6f3a3f7ec8f7d11604087 /numpy/core/arrayprint.py | |
parent | 4cba2d91e1546872d29af6b25ad35947f27e03ac (diff) | |
download | numpy-4da857ae94d9ee9ebeeb67e83858ad31bc3c1838.tar.gz |
MAINT: Make arrayprint str and repr the ndarray defaults.
This removes the old default routines in 'strfunc.c' that were never
used and looked to have unicode/byte problems. The functions now
self initialize when called, so the explicit initialization when the
arrayprint module is loaded is no longer needed.
Diffstat (limited to 'numpy/core/arrayprint.py')
-rw-r--r-- | numpy/core/arrayprint.py | 3 |
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) |