diff options
Diffstat (limited to 'doc/release/upcoming_changes/22540.expired.rst')
-rw-r--r-- | doc/release/upcoming_changes/22540.expired.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/release/upcoming_changes/22540.expired.rst b/doc/release/upcoming_changes/22540.expired.rst index 3c5cb11c3..53e876cbf 100644 --- a/doc/release/upcoming_changes/22540.expired.rst +++ b/doc/release/upcoming_changes/22540.expired.rst @@ -1,5 +1,5 @@ * Passing dtype instances other than the canonical (mainly native byte-order) - ones to ``dtype=`` or ``signature=` in ufuncs will now raise a ``TypeError``. + ones to ``dtype=`` or ``signature=`` in ufuncs will now raise a ``TypeError``. We recommend passing the strings ``"int8"`` or scalar types ``np.int8`` since the byte-order, datetime/timedelta unit, etc. are never enforced. (Initially deprecated in NumPy 1.21.) |