diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2017-05-09 12:16:14 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2017-05-09 12:16:14 +0300 |
commit | ef5684564e3074daf614846f30bfdd7f15f5254f (patch) | |
tree | 1b604adcf75bec0009c27d340e6ede2adb03b2ec /numpy/ma/core.py | |
parent | 23b0cf3a5925dbc1f0503fbdacdf8088372f4ab5 (diff) | |
download | numpy-ef5684564e3074daf614846f30bfdd7f15f5254f.tar.gz |
ENH: Spelling fixes
Diffstat (limited to 'numpy/ma/core.py')
-rw-r--r-- | numpy/ma/core.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/ma/core.py b/numpy/ma/core.py index bccb0bce1..d6b30ae2e 100644 --- a/numpy/ma/core.py +++ b/numpy/ma/core.py @@ -1954,7 +1954,7 @@ def masked_where(condition, a, copy=True): (cshape, ashape) = (cond.shape, a.shape) if cshape and cshape != ashape: - raise IndexError("Inconsistant shape between the condition and the input" + raise IndexError("Inconsistent shape between the condition and the input" " (got %s and %s)" % (cshape, ashape)) if hasattr(a, '_mask'): cond = mask_or(cond, a._mask) @@ -4655,7 +4655,7 @@ class MaskedArray(ndarray): self._data.put(indices, values, mode=mode) - # short circut if neither self nor values are masked + # short circuit if neither self nor values are masked if self._mask is nomask and getmask(values) is nomask: return @@ -5889,7 +5889,7 @@ class MaskedArray(ndarray): Parameters ---------- fill_value : scalar, optional - Value used to fill in the masked values. Deafult is None, in which + Value used to fill in the masked values. Default is None, in which case `MaskedArray.fill_value` is used. order : {'C','F','A'}, optional Order of the data item in the copy. Default is 'C'. |