summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-07-24 22:56:58 +0100
committerEric Wieser <wieser.eric@gmail.com>2017-07-24 22:56:58 +0100
commit0058b9efd75772a83e3bd497dac080757b83a36c (patch)
tree27995b4344595eb322b162ce66a54f0bca8c61d0 /numpy/add_newdocs.py
parentddbbd4ae7d877fac932957b94719db33ea1f8262 (diff)
downloadnumpy-0058b9efd75772a83e3bd497dac080757b83a36c.tar.gz
DOC: Fix incorrect default for where
None would be cast to False, which is the opposite of the intended default!
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r--numpy/add_newdocs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py
index de80affd2..99fb67949 100644
--- a/numpy/add_newdocs.py
+++ b/numpy/add_newdocs.py
@@ -3991,7 +3991,7 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('put',
add_newdoc('numpy.core.multiarray', 'copyto',
"""
- copyto(dst, src, casting='same_kind', where=None)
+ copyto(dst, src, casting='same_kind', where=True)
Copies values from one array to another, broadcasting as necessary.