summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r--numpy/add_newdocs.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py
index 85e7bdbba..17d21cd7c 100644
--- a/numpy/add_newdocs.py
+++ b/numpy/add_newdocs.py
@@ -2198,15 +2198,15 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('var',
add_newdoc('numpy.core.multiarray', 'ndarray', ('view',
- """a.view(type)
+ """a.view(dtype=None)
New view of array with the same data.
Parameters
----------
- type
- Either a new sub-type object or a data-descriptor object
-
+ dtype : sub-type or data-descriptor
+ Data-type of the returned view.
+
"""))
add_newdoc('numpy.core.umath','geterrobj',