summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorLars Buitinck <larsmans@gmail.com>2015-10-02 23:00:47 +0200
committerLars Buitinck <larsmans@gmail.com>2015-10-02 23:00:47 +0200
commit7c263ac239b6e4c807411986a12aec96e9924e37 (patch)
tree9fcf4740942a7af6f6a076c1e0318232f95044cc /numpy/lib/function_base.py
parentdf0afda4c69e9e1fd47afcb7d79236bc101c502f (diff)
downloadnumpy-7c263ac239b6e4c807411986a12aec96e9924e37.tar.gz
DOC: typo: affect
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: