summaryrefslogtreecommitdiff
path: root/numpy/core/_internal.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-08-18 11:51:25 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-08-18 11:51:25 -0600
commitfbd6510d58a47ea0d166c48a82793f05425406e4 (patch)
tree330ce703eb02d20f96099c3fe0fc36ae33d4905b /numpy/core/_internal.py
parent8ddb0ce0acafe75d78df528b4d2540dfbf4b364d (diff)
downloadnumpy-fbd6510d58a47ea0d166c48a82793f05425406e4.tar.gz
STY: Giant comma spacing fixup.
Run the 2to3 ws_comma fixer on *.py files. Some lines are now too long and will need to be broken at some point. OTOH, some lines were already too long and need to be broken at some point. Now seems as good a time as any to do this with open PRs at a minimum.
Diffstat (limited to 'numpy/core/_internal.py')
-rw-r--r--numpy/core/_internal.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/_internal.py b/numpy/core/_internal.py
index 8046de149..d32f59390 100644
--- a/numpy/core/_internal.py
+++ b/numpy/core/_internal.py
@@ -24,7 +24,7 @@ def _makenames_list(adict, align):
for fname in fnames:
obj = adict[fname]
n = len(obj)
- if not isinstance(obj, tuple) or n not in [2,3]:
+ if not isinstance(obj, tuple) or n not in [2, 3]:
raise ValueError("entry not a 2- or 3- tuple")
if (n > 2) and (obj[2] == fname):
continue
@@ -108,10 +108,10 @@ def _array_descr(descriptor):
for field in ordered_fields:
if field[1] > offset:
num = field[1] - offset
- result.append(('','|V%d' % num))
+ result.append(('', '|V%d' % num))
offset += num
if len(field) > 3:
- name = (field[2],field[3])
+ name = (field[2], field[3])
else:
name = field[2]
if field[0].subdtype: