[pypy-commit] pypy cleanups: Whitespace fixes
vincentlegoll
pypy.commits at gmail.com
Sun May 8 13:13:32 EDT 2016
Author: Vincent Legoll <vincent.legoll at idgrilles.fr>
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
More information about the pypy-commit
mailing list