diff options
author | Homu <homu@barosl.com> | 2016-01-28 14:27:58 +0900 |
---|---|---|
committer | Homu <homu@barosl.com> | 2016-01-28 14:27:58 +0900 |
commit | e2805398f9a63b825f4a2aab22e9f169ff65aae9 (patch) | |
tree | a1ebf45fcdc82a939bedc61bde2e6a2836fae453 /numpy/lib/function_base.py | |
parent | 2b34f4bf652189e0415d5bf48ef7aa3294302871 (diff) | |
parent | 73a2fd11a74eedb97201fc8d54ea193e810ea9d3 (diff) | |
download | numpy-auto.tar.gz |
Auto merge of #7134 - dongjoon-hyun:fix_typos_in_code_comments, r=njsmithauto
MAINT: Fix some typos in a code string and comments
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r-- | numpy/lib/function_base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index 844c069c0..a1048002c 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -1022,7 +1022,7 @@ def select(condlist, choicelist, default=0): dtype = np.result_type(*choicelist) # Convert conditions to arrays and broadcast conditions and choices - # as the shape is needed for the result. Doing it seperatly optimizes + # as the shape is needed for the result. Doing it separately optimizes # for example when all choices are scalars. condlist = np.broadcast_arrays(*condlist) choicelist = np.broadcast_arrays(*choicelist) @@ -1244,7 +1244,7 @@ def gradient(f, *varargs, **kwargs): # Convert datetime64 data into ints. Make dummy variable `y` # that is a view of ints if the data is datetime64, otherwise - # just set y equal to the the array `f`. + # just set y equal to the array `f`. if f.dtype.char in ["M", "m"]: y = f.view('int64') else: |