diff options
author | MSeifert04 <michaelseifert04@yahoo.de> | 2019-07-01 21:19:51 +0200 |
---|---|---|
committer | MSeifert04 <michaelseifert04@yahoo.de> | 2019-07-01 21:19:51 +0200 |
commit | 94d6a3759d5b56b7c1c2ba4c327f891aedde2ebc (patch) | |
tree | 211f636ca7f6f653c775de14e3b25d96b352a89f /numpy/core/arrayprint.py | |
parent | a14a8cefdeb80552f0feecd65c8c5b6b869aa487 (diff) | |
download | numpy-94d6a3759d5b56b7c1c2ba4c327f891aedde2ebc.tar.gz |
MAINT: Replace integers in places where booleans are expected
Diffstat (limited to 'numpy/core/arrayprint.py')
-rw-r--r-- | numpy/core/arrayprint.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/arrayprint.py b/numpy/core/arrayprint.py index 3e8cdf6ab..739ae7711 100644 --- a/numpy/core/arrayprint.py +++ b/numpy/core/arrayprint.py @@ -1641,5 +1641,5 @@ def set_string_function(f, repr=True): else: return multiarray.set_string_function(f, repr) -set_string_function(_default_array_str, 0) -set_string_function(_default_array_repr, 1) +set_string_function(_default_array_str, False) +set_string_function(_default_array_repr, True) |