From 8427866e4fb038f8d3af317e04a9cc9808bea8ca Mon Sep 17 00:00:00 2001 From: Stefan Peterson Date: Tue, 4 Apr 2017 10:58:20 +0200 Subject: DOC: Fix for issues #7622 and #7914 --- numpy/ma/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/ma') 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 ------- -- cgit v1.2.1