Skip to content

Commit 07d7e72

Browse files
committed
MAINT: Remove accidentally created directory.
The removed directory also contained a release fragment that this commit adds to the 1.21.0-release notes.
1 parent 032fca5 commit 07d7e72

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

changelog/13578.deprecation.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

doc/source/release/1.21.0-notes.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,16 @@ Expired deprecations
7575
Deprecations
7676
============
7777

78+
The ``.dtype`` attribute must return a ``dtype``
79+
------------------------------------------------
80+
81+
A ``DeprecationWarning`` is now given if the ``.dtype`` attribute
82+
of an object passed into ``np.dtype`` or as a ``dtype=obj`` argument
83+
is not a dtype. NumPy will stop attempting to recursively coerce the
84+
result of ``.dtype``.
85+
86+
(`gh-13578 <https://github.com/numpy/numpy/pull/13578>`__)
87+
7888
Inexact matches for ``numpy.convolve`` and ``numpy.correlate`` are deprecated
7989
-----------------------------------------------------------------------------
8090

0 commit comments

Comments
 (0)