summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorJulia Signell <jsignell@gmail.com>2020-10-06 15:56:46 -0400
committerGitHub <noreply@github.com>2020-10-06 15:56:46 -0400
commit11f051a37bed48c341849e79cac1863a03626f73 (patch)
tree32ef7a84bdcf776e13e6ee3455b9c54f613ed275 /numpy/core/numeric.py
parentc20f08accae9d2b2bafde2265d7d30b73b059035 (diff)
downloadnumpy-11f051a37bed48c341849e79cac1863a03626f73.tar.gz
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)