diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2017-07-24 22:56:58 +0100 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2017-07-24 22:56:58 +0100 |
commit | 0058b9efd75772a83e3bd497dac080757b83a36c (patch) | |
tree | 27995b4344595eb322b162ce66a54f0bca8c61d0 /numpy/add_newdocs.py | |
parent | ddbbd4ae7d877fac932957b94719db33ea1f8262 (diff) | |
download | numpy-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.py | 2 |
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. |