diff --git a/numpy/core/_methods.py b/numpy/core/_methods.py index 8a90731e9aae..6785683a3af5 100644 --- a/numpy/core/_methods.py +++ b/numpy/core/_methods.py @@ -31,10 +31,6 @@ _complex_to_float.update({ nt.dtype(nt.clongdouble) : nt.dtype(nt.longdouble), }) -# Add reverse-endian types -_complex_to_float.update({ - k.newbyteorder() : v.newbyteorder() for k, v in _complex_to_float.items() -}) # avoid keyword arguments to speed up parsing, saves about 15%-20% for very # small reductions