From fcff4e1d25abb173870fffdd0a0d1f63aca7fccf Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Mon, 11 Jan 2021 17:15:39 -0700 Subject: Fix the bool name in the array API namespace --- numpy/_array_api/dtypes.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'numpy/_array_api') diff --git a/numpy/_array_api/dtypes.py b/numpy/_array_api/dtypes.py index 62fb3d321..e94e70e9b 100644 --- a/numpy/_array_api/dtypes.py +++ b/numpy/_array_api/dtypes.py @@ -1,3 +1,5 @@ -from .. import int8, int16, int32, int64, uint8, uint16, uint32, uint64, float32, float64, bool +from .. import int8, int16, int32, int64, uint8, uint16, uint32, uint64, float32, float64 +# Note: This name is changed +from .. import bool_ as bool __all__ = ['int8', 'int16', 'int32', 'int64', 'uint8', 'uint16', 'uint32', 'uint64', 'float32', 'float64', 'bool'] -- cgit v1.2.1