summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorserge-sans-paille <serge.guelton@telecom-bretagne.eu>2020-11-21 07:41:43 +0100
committerserge-sans-paille <serge.guelton@telecom-bretagne.eu>2020-11-21 08:32:57 +0100
commit81e363da7a59ebccf3d583fb77dacb959cf6fa9a (patch)
treebc3c5fb8702a00ba89f87f1f7b777dae33170928
parentab24dc6130d834fda0744c193f002b3a5f671a90 (diff)
downloadnumpy-81e363da7a59ebccf3d583fb77dacb959cf6fa9a.tar.gz
Fix copy-paste typo in empty_like documentation.
-rw-r--r--numpy/core/multiarray.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/multiarray.py b/numpy/core/multiarray.py
index d293700f2..4dd07ca4b 100644
--- a/numpy/core/multiarray.py
+++ b/numpy/core/multiarray.py
@@ -97,7 +97,7 @@ def empty_like(prototype, dtype=None, order=None, subok=None, shape=None):
.. versionadded:: 1.6.0
subok : bool, optional.
If True, then the newly created array will use the sub-class
- type of 'a', otherwise it will be a base-class array. Defaults
+ type of `prototype`, otherwise it will be a base-class array. Defaults
to True.
shape : int or sequence of ints, optional.
Overrides the shape of the result. If order='K' and the number of