diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-03-11 08:20:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-11 08:20:55 -0700 |
commit | 59a97520cf0aa68b92a775d809e1cb67d886b50c (patch) | |
tree | 23fa9be4b7796422a3c79076dd8d655768aef3bf | |
parent | 2e9169601aff252a661b845399ec61c3e575407f (diff) | |
parent | 3d9b25d6b6234aa95ff54c595e02a916056beab8 (diff) | |
download | numpy-59a97520cf0aa68b92a775d809e1cb67d886b50c.tar.gz |
Merge pull request #15738 from rossbar/rm_nnbo
MAINT: Remove non-native byte order from _var check.
-rw-r--r-- | numpy/core/_methods.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/numpy/core/_methods.py b/numpy/core/_methods.py index 8a90731e9..6785683a3 100644 --- a/numpy/core/_methods.py +++ b/numpy/core/_methods.py @@ -31,10 +31,6 @@ if nt.dtype(nt.longdouble) != nt.dtype(nt.double): _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 |