summaryrefslogtreecommitdiff
path: root/numpy/_array_api
diff options
context:
space:
mode:
authorAaron Meurer <asmeurer@gmail.com>2021-01-11 17:15:39 -0700
committerAaron Meurer <asmeurer@gmail.com>2021-01-11 17:15:39 -0700
commitfcff4e1d25abb173870fffdd0a0d1f63aca7fccf (patch)
treedb6ce18c030df5218a8c9e7d1c9d7e87c0875819 /numpy/_array_api
parente00760ccbfdbefea1625f5407e94397f2c85e848 (diff)
downloadnumpy-fcff4e1d25abb173870fffdd0a0d1f63aca7fccf.tar.gz
Fix the bool name in the array API namespace
Diffstat (limited to 'numpy/_array_api')
-rw-r--r--numpy/_array_api/dtypes.py4
1 files changed, 3 insertions, 1 deletions
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']