From 73a2fd11a74eedb97201fc8d54ea193e810ea9d3 Mon Sep 17 00:00:00 2001 From: Dongjoon Hyun Date: Wed, 27 Jan 2016 15:42:42 -0800 Subject: MAINT: Fix some typos in a code string and comments --- numpy/lib/function_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/lib/function_base.py') 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: -- cgit v1.2.1