summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core')
-rw-r--r--numpy/core/numerictypes.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/core/numerictypes.py b/numpy/core/numerictypes.py
index 8b210a1a1..43bc2e77b 100644
--- a/numpy/core/numerictypes.py
+++ b/numpy/core/numerictypes.py
@@ -600,7 +600,7 @@ def find_common_type(array_types, scalar_types):
"""
Determine common type following standard coercion rules.
- .. deprecated:: NumPy 1.24
+ .. deprecated:: NumPy 1.25
This function is deprecated, use `numpy.promote_types` or
`numpy.result_type` instead. To achieve semantics for the
@@ -608,7 +608,7 @@ def find_common_type(array_types, scalar_types):
values `0`, `0.0`, or `0j`.
This will give the same results in almost all cases.
More information and rare exception can be found in the
- `NumPy 1.24 release notes <https://numpy.org/devdocs/release/1.24.0-notes.html>`_.
+ `NumPy 1.25 release notes <https://numpy.org/devdocs/release/1.25.0-notes.html>`_.
Parameters
----------
@@ -657,12 +657,12 @@ def find_common_type(array_types, scalar_types):
dtype('complex128')
"""
- # Deprecated 2022-11-07, NumPy 1.24
+ # Deprecated 2022-11-07, NumPy 1.25
warnings.warn(
"np.find_common_type is deprecated. Please use `np.result_type` "
"or `np.promote_types`.\n"
- "See https://numpy.org/devdocs/release/1.24.0-notes.html and the "
- "docs for more information. (Deprecated NumPy 1.24)",
+ "See https://numpy.org/devdocs/release/1.25.0-notes.html and the "
+ "docs for more information. (Deprecated NumPy 1.25)",
DeprecationWarning, stacklevel=2)
array_types = [dtype(x) for x in array_types]