diff options
| author | Charles Harris <charlesr.harris@gmail.com> | 2023-02-19 12:08:54 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-19 12:08:54 -0700 |
| commit | d8a0814c0913ecd7eae1421021ce23b4e7eba72d (patch) | |
| tree | 3f744ffc6b5cf57be662920b58de58390535ce95 /numpy | |
| parent | 1ad0166f5b1ba32925c924916af70d2c07de43b4 (diff) | |
| download | numpy-d8a0814c0913ecd7eae1421021ce23b4e7eba72d.tar.gz | |
MAINT: Update release from 1.24 to 1.25
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/core/numerictypes.py | 10 |
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] |
