diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2019-11-11 23:05:31 +0000 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2019-11-13 21:45:50 +0000 |
commit | 6dfe3318400972f414b02e3e12c83c52372f1e00 (patch) | |
tree | f05556eace312e4a86b8e7bbd865a75a4b199fc5 /numpy/doc/basics.py | |
parent | 231f59daab0e8ea222a21d524817b2eeb46b9cd7 (diff) | |
download | numpy-6dfe3318400972f414b02e3e12c83c52372f1e00.tar.gz |
MAINT: Remove uses of scalar aliases
Relates to gh-6103
Diffstat (limited to 'numpy/doc/basics.py')
-rw-r--r-- | numpy/doc/basics.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/doc/basics.py b/numpy/doc/basics.py index 1871512bf..c05f347a1 100644 --- a/numpy/doc/basics.py +++ b/numpy/doc/basics.py @@ -18,7 +18,7 @@ The primitive types supported are tied closely to those in C: - C type - Description - * - `np.bool` + * - `np.bool_` - ``bool`` - Boolean (True or False) stored as a byte @@ -283,7 +283,7 @@ NumPy provides `numpy.iinfo` and `numpy.finfo` to verify the minimum or maximum values of NumPy integer and floating point values respectively :: - >>> np.iinfo(np.int) # Bounds of the default integer on this system. + >>> np.iinfo(int) # Bounds of the default integer on this system. iinfo(min=-9223372036854775808, max=9223372036854775807, dtype=int64) >>> np.iinfo(np.int32) # Bounds of a 32-bit integer iinfo(min=-2147483648, max=2147483647, dtype=int32) |