Skip to content

Commit

Permalink
MAINT: Update deprecation message.
Browse files Browse the repository at this point in the history
  • Loading branch information
charris authored Oct 10, 2018
1 parent 1c2abd3 commit 263369c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/lib/type_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 263369c

Please sign in to comment.