diff options
| author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-11-14 08:24:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-14 08:24:26 +0100 |
| commit | 2b5328c287539db7f96dc488409557a75c67db74 (patch) | |
| tree | 2c8a4598b67e4e40d1746c5d7258aa5c05c8ae3d | |
| parent | 56ef10f539ae033d90f18429cfb612c181472e1a (diff) | |
| parent | d66bb7c8872a8f7c2373506262de9163892d6bee (diff) | |
| download | numpy-2b5328c287539db7f96dc488409557a75c67db74.tar.gz | |
Merge pull request #22586 from rossbar/maint/arrayprint-type-cleanup
MAINT: Rm meaningless checks in determining typeless data
| -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): |
