From ef38bff8e717840fc654175729ce9577e7979580 Mon Sep 17 00:00:00 2001 From: Sebastian Berg Date: Mon, 7 Nov 2022 16:01:29 +0100 Subject: [PATCH] DOC: Add release note for expired dtype=/signature= ufunc deprecation --- doc/release/upcoming_changes/22540.expired.rst | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/release/upcoming_changes/22540.expired.rst 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.)