diff options
-rw-r--r-- | numpy/lib/type_check.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/lib/type_check.py b/numpy/lib/type_check.py index cb9b6ee49..da9e13847 100644 --- a/numpy/lib/type_check.py +++ b/numpy/lib/type_check.py @@ -451,7 +451,8 @@ def asscalar(a): Returns ------- out : scalar - Scalar representation of `a`. The input data type is preserved. + Scalar representation of `a`. The output data type is the same type + returned by the input's `item` method. Examples -------- |