diff options
author | takanori-pskq <takanori17h@gmail.com> | 2020-10-24 13:49:37 +0900 |
---|---|---|
committer | takanori-pskq <takanori17h@gmail.com> | 2020-10-24 14:00:37 +0900 |
commit | 14bb26753df4ca4ef42ecd830699433ed781cf9f (patch) | |
tree | a3fb3307957d15ad79a30826a32556faa8fe2d29 /doc/source/reference/arrays.ndarray.rst | |
parent | c0043831c46ec07fdc34999d664af654ada0825f (diff) | |
download | numpy-14bb26753df4ca4ef42ecd830699433ed781cf9f.tar.gz |
DOC: Fix some references
Diffstat (limited to 'doc/source/reference/arrays.ndarray.rst')
-rw-r--r-- | doc/source/reference/arrays.ndarray.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/source/reference/arrays.ndarray.rst b/doc/source/reference/arrays.ndarray.rst index 689240c7d..405ae8f6a 100644 --- a/doc/source/reference/arrays.ndarray.rst +++ b/doc/source/reference/arrays.ndarray.rst @@ -469,7 +469,7 @@ Comparison operators: ndarray.__eq__ ndarray.__ne__ -Truth value of an array (:func:`bool()`): +Truth value of an array (:class:`bool() <bool>`): .. autosummary:: :toctree: generated/ @@ -604,9 +604,9 @@ Container customization: (see :ref:`Indexing <arrays.indexing>`) ndarray.__setitem__ ndarray.__contains__ -Conversion; the operations :func:`int()`, :func:`float()` and -:func:`complex()`. -. They work only on arrays that have one element in them +Conversion; the operations :class:`int() <int>`, +:class:`float() <float>` and :class:`complex() <complex>`. +They work only on arrays that have one element in them and return the appropriate scalar. .. autosummary:: |