summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorRoss Barnowski <rossbar@berkeley.edu>2020-10-06 14:14:23 -0700
committerRoss Barnowski <rossbar@berkeley.edu>2020-10-06 14:14:23 -0700
commitdc3e276f0e777c8bc3a5b5cf76636999dde8f82e (patch)
tree5cb145cb50d11760e6c6f828582232c6a72d0269 /doc/source
parent3879e952dff2ff5a16decc997bf72716b8da5d17 (diff)
downloadnumpy-dc3e276f0e777c8bc3a5b5cf76636999dde8f82e.tar.gz
DOC: rm numpy. from type alias attr definitions.
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/reference/arrays.scalars.rst28
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/source/reference/arrays.scalars.rst b/doc/source/reference/arrays.scalars.rst
index d857f0855..13d117af2 100644
--- a/doc/source/reference/arrays.scalars.rst
+++ b/doc/source/reference/arrays.scalars.rst
@@ -261,10 +261,10 @@ are also provided.
.. autoclass:: numpy.bool8
-.. attribute:: numpy.int8
- numpy.int16
- numpy.int32
- numpy.int64
+.. attribute:: int8
+ int16
+ int32
+ int64
Aliases for the signed integer types (one of `numpy.byte`, `numpy.short`,
`numpy.intc`, `numpy.int_` and `numpy.longlong`) with the specified number
@@ -273,10 +273,10 @@ are also provided.
Compatible with the C99 ``int8_t``, ``int16_t``, ``int32_t``, and
``int64_t``, respectively.
-.. attribute:: numpy.uint8
- numpy.uint16
- numpy.uint32
- numpy.uint64
+.. attribute:: uint8
+ uint16
+ uint32
+ uint64
Alias for the unsigned integer types (one of `numpy.byte`, `numpy.short`,
`numpy.intc`, `numpy.int_` and `numpy.longlong`) with the specified number
@@ -285,7 +285,7 @@ are also provided.
Compatible with the C99 ``uint8_t``, ``uint16_t``, ``uint32_t``, and
``uint64_t``, respectively.
-.. attribute:: numpy.intp
+.. attribute:: intp
Alias for the signed integer type (one of `numpy.byte`, `numpy.short`,
`numpy.intc`, `numpy.int_` and `np.longlong`) that is the same size as a
@@ -295,7 +295,7 @@ are also provided.
:Character code: ``'p'``
-.. attribute:: numpy.uintp
+.. attribute:: uintp
Alias for the unsigned integer type (one of `numpy.byte`, `numpy.short`,
`numpy.intc`, `numpy.int_` and `np.longlong`) that is the same size as a
@@ -311,8 +311,8 @@ are also provided.
.. autoclass:: numpy.float64
-.. attribute:: numpy.float96
- numpy.float128
+.. attribute:: float96
+ float128
Alias for `numpy.longdouble`, named after its size in bits.
The existence of these aliases depends on the platform.
@@ -321,8 +321,8 @@ are also provided.
.. autoclass:: numpy.complex128
-.. attribute:: numpy.complex192
- numpy.complex256
+.. attribute:: complex192
+ complex256
Alias for `numpy.clongdouble`, named after its size in bits.
The existance of these aliases depends on the platform.