diff options
author | Pax <pax.margret@tutanota.com> | 2021-05-25 13:40:55 +0000 |
---|---|---|
committer | Pax <pax.margret@tutanota.com> | 2021-05-25 13:40:55 +0000 |
commit | 162d000f2a32cb9e534b5e250653e8039e60f18c (patch) | |
tree | 8d49b0cb5f65693730e6160fe772a280f03c137f | |
parent | f9a1f3199623d48a4aeaacdcbae6a1851e125cb4 (diff) | |
download | numpy-162d000f2a32cb9e534b5e250653e8039e60f18c.tar.gz |
DOC: add a "Returns" section for `np.frombuffer`
This is a pre-requisite for Issue#16751. See comments on PR#18964
starting at github.com/numpy/numpy/pull/18964#issuecomment-847492524
-rw-r--r-- | numpy/core/_add_newdocs.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/core/_add_newdocs.py b/numpy/core/_add_newdocs.py index b8f0ee907..67bd945c1 100644 --- a/numpy/core/_add_newdocs.py +++ b/numpy/core/_add_newdocs.py @@ -1536,6 +1536,10 @@ add_newdoc('numpy.core.multiarray', 'frombuffer', .. versionadded:: 1.20.0 + Returns + ------- + out : ndarray + Notes ----- If the buffer has data that is not in machine byte-order, this should |