summaryrefslogtreecommitdiff
path: root/numpy/ma
diff options
context:
space:
mode:
authorStefan Peterson <stefan.peterson@rubico.com>2017-04-04 10:58:20 +0200
committerStefan Peterson <stefan.peterson@rubico.com>2017-04-05 10:01:41 +0200
commit8427866e4fb038f8d3af317e04a9cc9808bea8ca (patch)
treef5580babd3012477127552d31f9a476a59185337 /numpy/ma
parentc4f1dec9ff47134840109fa719719a73a9ca79be (diff)
downloadnumpy-8427866e4fb038f8d3af317e04a9cc9808bea8ca.tar.gz
DOC: Fix for issues #7622 and #7914
Diffstat (limited to 'numpy/ma')
-rw-r--r--numpy/ma/core.py4
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
-------