From 94d6a3759d5b56b7c1c2ba4c327f891aedde2ebc Mon Sep 17 00:00:00 2001 From: MSeifert04 Date: Mon, 1 Jul 2019 21:19:51 +0200 Subject: MAINT: Replace integers in places where booleans are expected --- numpy/core/arrayprint.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/core/arrayprint.py') 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) -- cgit v1.2.1