summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r--numpy/lib/function_base.py6
1 files changed, 3 insertions, 3 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: