diff options
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/lib/function_base.py | 6 | ||||
-rw-r--r-- | numpy/lib/index_tricks.py | 2 | ||||
-rw-r--r-- | numpy/ma/extras.py | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index 3c941ca5b..f859b1d5d 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -2316,11 +2316,11 @@ def corrcoef(x, y=None, rowvar=1, bias=np._NoValue, ddof=np._NoValue): is transposed: each column represents a variable, while the rows contain observations. bias : _NoValue, optional - Has no affect, do not use. + Has no effect, do not use. .. deprecated:: 1.10.0 ddof : _NoValue, optional - Has no affect, do not use. + Has no effect, do not use. .. deprecated:: 1.10.0 @@ -2342,7 +2342,7 @@ def corrcoef(x, y=None, rowvar=1, bias=np._NoValue, ddof=np._NoValue): """ if bias is not np._NoValue or ddof is not np._NoValue: # 2015-03-15, 1.10 - warnings.warn('bias and ddof have no affect and are deprecated', + warnings.warn('bias and ddof have no effect and are deprecated', DeprecationWarning) c = cov(x, y, rowvar) try: diff --git a/numpy/lib/index_tricks.py b/numpy/lib/index_tricks.py index c68bf2634..8bcc3fb53 100644 --- a/numpy/lib/index_tricks.py +++ b/numpy/lib/index_tricks.py @@ -681,7 +681,7 @@ def fill_diagonal(a, val, wrap=False): wrap : bool For tall matrices in NumPy version up to 1.6.2, the diagonal "wrapped" after N columns. You can have this behavior - with this option. This affect only tall matrices. + with this option. This affects only tall matrices. See also -------- diff --git a/numpy/ma/extras.py b/numpy/ma/extras.py index a47c58684..322303f03 100644 --- a/numpy/ma/extras.py +++ b/numpy/ma/extras.py @@ -1415,7 +1415,7 @@ def corrcoef(x, y=None, rowvar=True, bias=np._NoValue, allow_masked=True, is transposed: each column represents a variable, while the rows contain observations. bias : _NoValue, optional - Has no affect, do not use. + Has no effect, do not use. .. deprecated:: 1.10.0 allow_masked : bool, optional @@ -1424,7 +1424,7 @@ def corrcoef(x, y=None, rowvar=True, bias=np._NoValue, allow_masked=True, If False, raises an exception. Because `bias` is deprecated, this argument needs to be treated as keyword only to avoid a warning. ddof : _NoValue, optional - Has no affect, do not use. + Has no effect, do not use. .. deprecated:: 1.10.0 @@ -1440,7 +1440,7 @@ def corrcoef(x, y=None, rowvar=True, bias=np._NoValue, allow_masked=True, arguments had no effect on the return values of the function and can be safely ignored in this and previous versions of numpy. """ - msg = 'bias and ddof have no affect and are deprecated' + msg = 'bias and ddof have no effect and are deprecated' if bias is not np._NoValue or ddof is not np._NoValue: # 2015-03-15, 1.10 warnings.warn(msg, DeprecationWarning) |