diff options
author | Ross Barnowski <rossbar@berkeley.edu> | 2022-11-13 21:16:39 -0800 |
---|---|---|
committer | Ross Barnowski <rossbar@berkeley.edu> | 2022-11-13 21:16:39 -0800 |
commit | d66bb7c8872a8f7c2373506262de9163892d6bee (patch) | |
tree | c44d1c729b59db226b8c517f0ac8b120ea449c51 /numpy/core/arrayprint.py | |
parent | 2ad596fc8d015dd3f5ee30bedf068c2c3daf60d2 (diff) | |
download | numpy-d66bb7c8872a8f7c2373506262de9163892d6bee.tar.gz |
MAINT: Rm unnecessary checks in determining typeless data.
The issubclass should always be false in Python3, so this change
should not change behavior.
Diffstat (limited to 'numpy/core/arrayprint.py')
-rw-r--r-- | numpy/core/arrayprint.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/numpy/core/arrayprint.py b/numpy/core/arrayprint.py index d7e9bf795..957cecf1c 100644 --- a/numpy/core/arrayprint.py +++ b/numpy/core/arrayprint.py @@ -1394,10 +1394,6 @@ def _void_scalar_repr(x): _typelessdata = [int_, float_, complex_, bool_] -if issubclass(intc, int): - _typelessdata.append(intc) -if issubclass(longlong, int): - _typelessdata.append(longlong) def dtype_is_implied(dtype): |