diff --git a/doc/release/upcoming_changes/22540.expired.rst b/doc/release/upcoming_changes/22540.expired.rst new file mode 100644 index 000000000000..ec445e3764bb --- /dev/null +++ b/doc/release/upcoming_changes/22540.expired.rst @@ -0,0 +1,3 @@ +* Passing dtype instances other than the default ones to + ``dtype=`` or ``signature=` in ufuncs will now raise a + ``TypeError``. (Initially deprecated in NumPy 1.21.)