diff options
author | Felix Divo <felixdivo@users.noreply.github.com> | 2020-08-17 19:54:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-17 19:54:41 +0200 |
commit | 8fd3473142364715285e79308c33fff534630c65 (patch) | |
tree | 923b3c71303ffef09113d5167b0f03688730b809 /numpy/core/fromnumeric.py | |
parent | 85c04b023e0320eda5a1e25fcbf8e5c45f9d05d7 (diff) | |
download | numpy-8fd3473142364715285e79308c33fff534630c65.tar.gz |
Update fromnumeric.py
DOC: rephrase broadcasting rules for clip()
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r-- | numpy/core/fromnumeric.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py index 924690e4b..7f5b3c2a3 100644 --- a/numpy/core/fromnumeric.py +++ b/numpy/core/fromnumeric.py @@ -2066,8 +2066,7 @@ def clip(a, a_min, a_max, out=None, **kwargs): a_max : array_like or None Maximum value. If None, clipping is not performed on upper interval edge. Not more than one of `a_min` and `a_max` may be - None. If `a_min` or `a_max` are array_like, then the three - arrays will be broadcasted to match their shapes. + None. `a_min` and `a_max` are broadcast against `a`. out : ndarray, optional The results will be placed in this array. It may be the input array for in-place clipping. `out` must be of the right shape |