summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-06-30 11:55:17 +0300
committerGitHub <noreply@github.com>2020-06-30 11:55:17 +0300
commitd06fdf5502d9b3813500f29dd3b58a596c2cb0d7 (patch)
tree7399c661c3f62178ae00e038e84cfcc6e60f2839
parent19f91f3935069229bbc23bbda4294c36957901a5 (diff)
parentf565dc6647cf0456939f2ef8de920ef585569160 (diff)
downloadnumpy-d06fdf5502d9b3813500f29dd3b58a596c2cb0d7.tar.gz
Merge pull request #16709 from rossbar/doc/alen_dep
DOC: Add dep directive to alen docstring.
-rw-r--r--numpy/core/fromnumeric.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index 412d9fe6a..c1a220dfd 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -2850,6 +2850,9 @@ def alen(a):
"""
Return the length of the first dimension of the input array.
+ .. deprecated:: 1.18
+ `numpy.alen` is deprecated, use `len` instead.
+
Parameters
----------
a : array_like