diff options
Diffstat (limited to 'numpy/core/arrayprint.py')
-rw-r--r-- | numpy/core/arrayprint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/arrayprint.py b/numpy/core/arrayprint.py index 9f5039c57..f4d6eba89 100644 --- a/numpy/core/arrayprint.py +++ b/numpy/core/arrayprint.py @@ -1170,7 +1170,7 @@ def dtype_is_implied(dtype): array([1, 2, 3], dtype=np.int8) """ dtype = np.dtype(dtype) - if _format_options['legacy'] and dtype.type == bool_: + if _format_options['legacy'] == '1.13' and dtype.type == bool_: return False return dtype.type in _typelessdata |