summaryrefslogtreecommitdiff
path: root/numpy/lib
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-10-10 09:41:18 -0600
committerGitHub <noreply@github.com>2018-10-10 09:41:18 -0600
commit263369c559bf8e7f78390eacb07aafab2cec4a4a (patch)
tree7fa9d4b0b26f52c7170246be41e85ef80f99e3bc /numpy/lib
parent1c2abd36473d9c178557f4cc2ce50094c9b4636b (diff)
downloadnumpy-263369c559bf8e7f78390eacb07aafab2cec4a4a.tar.gz
MAINT: Update deprecation message.
Diffstat (limited to 'numpy/lib')
-rw-r--r--numpy/lib/type_check.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/type_check.py b/numpy/lib/type_check.py
index 8c79da7eb..603da8567 100644
--- a/numpy/lib/type_check.py
+++ b/numpy/lib/type_check.py
@@ -493,7 +493,7 @@ def asscalar(a):
"""
# 2018-10-10, 1.16
- warnings.warn('np.asscalar(a) will be removed in v1.18 of numpy, use '
+ warnings.warn('np.asscalar(a) is deprecated since NumPy v1.16, use '
'a.item() instead', DeprecationWarning, stacklevel=1)
return a.item()