Fixed typos in docstrings were updated for functions where the parameter names in the docstring didn't match the function signature.
Taken from the description in gh-5587.
Per the mailing list discussion , I have implemented a new function `broadcast_to` that broadcasts an array to a given shape according to numpy's broadcasting rules.  http://mail.scipy.org/pipermail/numpy-discussion/2014-December/071796.html
Added three new functions to npy_sort: npy_aquicksort, npy_aheapsort and npy_amergesort, for generic dtypes, with signature compatible with PyArray_ArgSortFunc, and refactored PyArray_ArgSort and PyArray_ArgPartition to use them through a call to _new_argsortlike. As an added bonus, partly fixes #5469 and adds some tests for it.
ensure_dtype_nbo() already creates a new reference.
This fixes the incorrect handing of masked NaNs by ``np.ma.polyfit``. Instead of passing the mask into ``np.polyfit`` by setting the weight of the masked points to zero, the subset of elements of which are to be fitted are passed instead. Closes #5591