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

Skip to content

DOC: Patch doc errors for atleast_nd and frombuffer #8216

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

Merged
merged 1 commit into from
Oct 27, 2016
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion numpy/add_newdocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ def luf(lamdaexpr, *args, **kwargs):
count : int, optional
Number of items to read. ``-1`` means all data in the buffer.
offset : int, optional
Start reading the buffer from this offset; default: 0.
Start reading the buffer from this offset (in bytes); default: 0.

Notes
-----
Expand Down
6 changes: 3 additions & 3 deletions numpy/core/shape_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def atleast_1d(*arys):
Returns
-------
ret : ndarray
An array, or sequence of arrays, each with ``a.ndim >= 1``.
An array, or list of arrays, each with ``a.ndim >= 1``.
Copies are made only if necessary.

See Also
Expand Down Expand Up @@ -72,7 +72,7 @@ def atleast_2d(*arys):
Returns
-------
res, res2, ... : ndarray
An array, or tuple of arrays, each with ``a.ndim >= 2``.
An array, or list of arrays, each with ``a.ndim >= 2``.
Copies are avoided where possible, and views with two or more
dimensions are returned.

Expand Down Expand Up @@ -124,7 +124,7 @@ def atleast_3d(*arys):
Returns
-------
res1, res2, ... : ndarray
An array, or tuple of arrays, each with ``a.ndim >= 3``. Copies are
An array, or list of arrays, each with ``a.ndim >= 3``. Copies are
avoided where possible, and views with three or more dimensions are
returned. For example, a 1-D array of shape ``(N,)`` becomes a view
of shape ``(1, N, 1)``, and a 2-D array of shape ``(M, N)`` becomes a
Expand Down