From a98839841c6dcbc85c7afc9855008dda68c477f3 Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk Date: Tue, 10 Jan 2023 16:39:08 -0600 Subject: DOC: Fix gh-22990 by correcting docstring of result_type --- numpy/core/multiarray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core/multiarray.py') 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. -- cgit v1.2.1