Author: Vincent Legoll <[email protected]>
Branch: cleanups
Changeset: r84297:0e8d993970af
Date: 2016-05-08 17:57 +0200
http://bitbucket.org/pypy/pypy/changeset/0e8d993970af/
Log: Whitespace fixes
diff --git a/pypy/module/micronumpy/strides.py
b/pypy/module/micronumpy/strides.py
--- a/pypy/module/micronumpy/strides.py
+++ b/pypy/module/micronumpy/strides.py
@@ -7,7 +7,7 @@
# structures to describe slicing
class BaseChunk(object):
- _attrs_ = ['step','out_dim']
+ _attrs_ = ['step', 'out_dim']
class Chunk(BaseChunk):
@@ -35,6 +35,7 @@
class IntegerChunk(BaseChunk):
input_dim = 1
out_dim = 0
+
def __init__(self, w_idx):
self.w_idx = w_idx
@@ -69,6 +70,7 @@
class EllipsisChunk(BaseChunk):
input_dim = 0
out_dim = 0
+
def __init__(self):
pass
@@ -79,6 +81,7 @@
class BooleanChunk(BaseChunk):
input_dim = 1
out_dim = 1
+
def __init__(self, w_idx):
self.w_idx = w_idx
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit