Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Fix reference warning in Arrayterator and recfunctions. #24442

Merged
merged 1 commit into from
Aug 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions numpy/lib/arrayterator.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ 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