summaryrefslogtreecommitdiff
path: root/numpy/lib
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
parentdf0afda4c69e9e1fd47afcb7d79236bc101c502f (diff)
downloadnumpy-7c263ac239b6e4c807411986a12aec96e9924e37.tar.gz
DOC: typo: affect
Diffstat (limited to 'numpy/lib')
-rw-r--r--numpy/lib/function_base.py6
-rw-r--r--numpy/lib/index_tricks.py2
2 files changed, 4 insertions, 4 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
--------