summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2021-05-26 15:30:12 +0200
committerGitHub <noreply@github.com>2021-05-26 15:30:12 +0200
commit86b9cedb9ac3330ed8c52cebb48f38bfd87298e0 (patch)
tree58318386bb14250bc2f3db1638b01330b41cce50
parent12c6000601c7665e52502ab4a67a54d290498266 (diff)
parent162d000f2a32cb9e534b5e250653e8039e60f18c (diff)
downloadnumpy-86b9cedb9ac3330ed8c52cebb48f38bfd87298e0.tar.gz
Merge pull request #19093 from paxcodes/add_returns_section_for_frombuffer
DOC: add a "Returns" section for `np.frombuffer`
-rw-r--r--numpy/core/_add_newdocs.py4
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