From ce057d29087f93fe3eafd96fcd7e9a2d0c46ddd4 Mon Sep 17 00:00:00 2001 From: Ross Barnowski Date: Wed, 19 Oct 2022 15:47:26 -0700 Subject: DOC: Add deprecated directive to docstring. --- numpy/lib/function_base.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'numpy') diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index a0c94114a..67ea54635 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -3648,6 +3648,10 @@ def msort(a): """ Return a copy of an array sorted along the first axis. + .. deprecated:: 1.24 + + msort is deprecated, use ``np.sort(a, axis=0)`` instead. + Parameters ---------- a : array_like -- cgit v1.2.1