summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Pavlyk <oleksandr.pavlyk@intel.com>2023-01-10 16:39:08 -0600
committerOleksandr Pavlyk <oleksandr.pavlyk@intel.com>2023-01-10 16:39:08 -0600
commita98839841c6dcbc85c7afc9855008dda68c477f3 (patch)
treeccae1012a0e1d64173900778c4f97b3c5ad38980
parent848af5d6f3ea1064b33a59f75a5275b73ee1cd54 (diff)
downloadnumpy-a98839841c6dcbc85c7afc9855008dda68c477f3.tar.gz
DOC: Fix gh-22990 by correcting docstring of result_type
-rw-r--r--numpy/core/multiarray.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/multiarray.py b/numpy/core/multiarray.py
index 636a6fbbd..efb504240 100644
--- a/numpy/core/multiarray.py
+++ b/numpy/core/multiarray.py
@@ -714,7 +714,7 @@ def result_type(*arrays_and_dtypes):
the data types are combined with :func:`promote_types`
to produce the return value.
- Otherwise, `min_scalar_type` is called on each array, and
+ Otherwise, `min_scalar_type` is called on each scalar, and
the resulting data types are all combined with :func:`promote_types`
to produce the return value.