diff options
| -rw-r--r-- | numpy/core/_add_newdocs.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/numpy/core/_add_newdocs.py b/numpy/core/_add_newdocs.py index 33e062803..5c16827ed 100644 --- a/numpy/core/_add_newdocs.py +++ b/numpy/core/_add_newdocs.py @@ -4126,6 +4126,11 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('view', New view of array with the same data. + .. note:: + Passing None for ``dtype`` is different from omitting the parameter, + since the former invokes ``dtype(None)`` which is an alias for + ``dtype('float_')``. + Parameters ---------- dtype : data-type or ndarray sub-class, optional |
