summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2020-10-06 18:53:01 -0600
committerGitHub <noreply@github.com>2020-10-06 18:53:01 -0600
commit2eed8784d5946e420500bf87f9af305d87aaa055 (patch)
treef7fb03eaa8f9ac6ad99cf931f8b817219f44f5d0 /numpy/core/numeric.py
parent789b21719fe89a3b38cae5a8800a4c0c3886a0f0 (diff)
parent11f051a37bed48c341849e79cac1863a03626f73 (diff)
downloadnumpy-2eed8784d5946e420500bf87f9af305d87aaa055.tar.gz
Merge pull request #17472 from jsignell/patch-2
TST: Fix doctest for full_like
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index a023bf0da..25235f738 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -409,7 +409,7 @@ def full_like(a, fill_value, dtype=None, order='K', subok=True, shape=None):
>>> y = np.arange(6, dtype=np.double)
>>> np.full_like(y, 0.1)
- array([0.1, 0.1, 0.1, 0.1, 0.1, 0.1])
+ array([0.1, 0.1, 0.1, 0.1, 0.1, 0.1])
"""
res = empty_like(a, dtype=dtype, order=order, subok=subok, shape=shape)