Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f884cf6

Browse files
authored
Merge pull request #24442 from liang3zy22/arrayterrecfunc
DOC: Fix reference warning in Arrayterator and recfunctions.
2 parents 3dc3d14 + a8c30c7 commit f884cf6

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

numpy/lib/arrayterator.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ class Arrayterator:
4848
4949
See Also
5050
--------
51-
ndenumerate : Multidimensional array iterator.
52-
flatiter : Flat array iterator.
53-
memmap : Create a memory-map to an array stored in a binary file on disk.
51+
numpy.ndenumerate : Multidimensional array iterator.
52+
numpy.flatiter : Flat array iterator.
53+
numpy.memmap : Create a memory-map to an array stored
54+
in a binary file on disk.
5455
5556
Notes
5657
-----

numpy/lib/recfunctions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -956,8 +956,8 @@ def structured_to_unstructured(arr, dtype=None, copy=False, casting='unsafe'):
956956
copy : bool, optional
957957
If true, always return a copy. If false, a view is returned if
958958
possible, such as when the `dtype` and strides of the fields are
959-
suitable and the array subtype is one of `np.ndarray`, `np.recarray`
960-
or `np.memmap`.
959+
suitable and the array subtype is one of `numpy.ndarray`,
960+
`numpy.recarray` or `numpy.memmap`.
961961
962962
.. versionchanged:: 1.25.0
963963
A view can now be returned if the fields are separated by a

0 commit comments

Comments
 (0)