diff options
author | Stefan Peterson <stefan.peterson@rubico.com> | 2017-04-04 10:58:20 +0200 |
---|---|---|
committer | Stefan Peterson <stefan.peterson@rubico.com> | 2017-04-05 10:01:41 +0200 |
commit | 8427866e4fb038f8d3af317e04a9cc9808bea8ca (patch) | |
tree | f5580babd3012477127552d31f9a476a59185337 /numpy/ma | |
parent | c4f1dec9ff47134840109fa719719a73a9ca79be (diff) | |
download | numpy-8427866e4fb038f8d3af317e04a9cc9808bea8ca.tar.gz |
DOC: Fix for issues #7622 and #7914
Diffstat (limited to 'numpy/ma')
-rw-r--r-- | numpy/ma/core.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/ma/core.py b/numpy/ma/core.py index 04290e4f3..3ce44caf7 100644 --- a/numpy/ma/core.py +++ b/numpy/ma/core.py @@ -6958,8 +6958,8 @@ def where(condition, x=_NoValue, y=_NoValue): The condition to meet. For each True element, yield the corresponding element from `x`, otherwise from `y`. x, y : array_like, optional - Values from which to choose. `x` and `y` need to have the same shape - as condition, or be broadcast-able to that shape. + Values from which to choose. `x`, `y` and `condition` need to be + broadcastable to some shape. Returns ------- |