summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-02-28 13:00:17 +0200
committerGitHub <noreply@github.com>2020-02-28 13:00:17 +0200
commite6c2765d428bdce57b6d5bf0554d177ab0b45bf5 (patch)
treeefa56c4a3cd6ddd649ddb762f9d98e5eec988eae
parentacba24414487e0e171bedbc8d1ae3cfc63f4b2c7 (diff)
parent9f66b90132b761994e16bed8cc30fe4a7885f849 (diff)
downloadnumpy-e6c2765d428bdce57b6d5bf0554d177ab0b45bf5.tar.gz
Merge pull request #15504 from emmanuelle/patch-1
DOC: Remove duplicated code in true_divide docstring
-rw-r--r--numpy/core/code_generators/ufunc_docstrings.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/numpy/core/code_generators/ufunc_docstrings.py b/numpy/core/code_generators/ufunc_docstrings.py
index 33ad1502d..129516658 100644
--- a/numpy/core/code_generators/ufunc_docstrings.py
+++ b/numpy/core/code_generators/ufunc_docstrings.py
@@ -3835,14 +3835,11 @@ add_newdoc('numpy.core.umath', 'true_divide',
>>> np.true_divide(x, 4)
array([ 0. , 0.25, 0.5 , 0.75, 1. ])
- >>> x//4
- array([0, 0, 0, 0, 1])
-
>>> x/4
array([ 0. , 0.25, 0.5 , 0.75, 1. ])
+
>>> x//4
array([0, 0, 0, 0, 1])
-
""")
add_newdoc('numpy.core.umath', 'frexp',