Skip to content

Commit

Permalink
DOC: Fix reference warning in Arrayterator and recfunctions.
Browse files Browse the repository at this point in the history
  • Loading branch information
liang3zy22 committed Aug 18, 2023
1 parent bdcd1c8 commit e469709
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions numpy/lib/arrayterator.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ class Arrayterator:
See Also
--------
ndenumerate : Multidimensional array iterator.
flatiter : Flat array iterator.
memmap : Create a memory-map to an array stored in a binary file on disk.
numpy.ndenumerate : Multidimensional array iterator.
numpy.flatiter : Flat array iterator.
numpy.memmap : Create a memory-map to an array stored in a binary file on disk.
Notes
-----
Expand Down
4 changes: 2 additions & 2 deletions numpy/lib/recfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -956,8 +956,8 @@ def structured_to_unstructured(arr, dtype=None, copy=False, casting='unsafe'):
copy : bool, optional
If true, always return a copy. If false, a view is returned if
possible, such as when the `dtype` and strides of the fields are
suitable and the array subtype is one of `np.ndarray`, `np.recarray`
or `np.memmap`.
suitable and the array subtype is one of `numpy.ndarray`, `numpy.recarray`
or `numpy.memmap`.
.. versionchanged:: 1.25.0
A view can now be returned if the fields are separated by a
Expand Down

0 comments on commit e469709

Please sign in to comment.