summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-01-04 16:34:00 -0700
committerGitHub <noreply@github.com>2018-01-04 16:34:00 -0700
commit95b435aa91c7259256b5c8a35c92c942f4eeb7d0 (patch)
tree0a1d96cf9a511e3cce392e3bae868c4f0924b780 /numpy/core
parent4b613a2bcc419939c80bf6a848f5ad15714b6098 (diff)
downloadnumpy-95b435aa91c7259256b5c8a35c92c942f4eeb7d0.tar.gz
STY: Small style fixes in numeritypes.
[ci skip]
Diffstat (limited to 'numpy/core')
-rw-r--r--numpy/core/numerictypes.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/numpy/core/numerictypes.py b/numpy/core/numerictypes.py
index d2209b317..aa91ecb44 100644
--- a/numpy/core/numerictypes.py
+++ b/numpy/core/numerictypes.py
@@ -346,9 +346,8 @@ def _add_integer_aliases():
bits = i_info.bits # same for both
for info, charname, intname, Intname in [
- (i_info,'i%d' % (bits//8,), 'int%d' % bits, 'Int%d' % bits),
- (u_info,'u%d' % (bits//8,), 'uint%d' % bits, 'UInt%d' % bits)
- ]:
+ (i_info,'i%d' % (bits//8,), 'int%d' % bits, 'Int%d' % bits),
+ (u_info,'u%d' % (bits//8,), 'uint%d' % bits, 'UInt%d' % bits)]:
if intname not in allTypes.keys():
allTypes[intname] = info.type
sctypeDict[intname] = info.type