Author: mattip <matti.pi...@gmail.com>
Branch: ufuncapi
Changeset: r73880:b0409e6b4887
Date: 2014-10-07 22:57 +0300
http://bitbucket.org/pypy/pypy/changeset/b0409e6b4887/

Log:    pep8

diff --git a/pypy/module/cpyext/ndarrayobject.py 
b/pypy/module/cpyext/ndarrayobject.py
--- a/pypy/module/cpyext/ndarrayobject.py
+++ b/pypy/module/cpyext/ndarrayobject.py
@@ -267,7 +267,7 @@
     def __init__(self, func, data):
         self.func = func
         self.data = data
-        
+
     def descr_call(self, space, __args__):
         args_w, kwds_w = __args__.unpack()
         dataps = alloc_raw_storage(CCHARP_SIZE * len(args_w), 
track_allocation=False)
@@ -281,7 +281,7 @@
             raw_storage_setitem(dims, LONG_SIZE * i, rffi.cast(rffi.LONG, 
arg_i.get_size()))
             raw_storage_setitem(steps, LONG_SIZE * i, rffi.cast(rffi.LONG, 
arg_i.get_dtype().elsize))
         try:
-            self.func(rffi.cast(rffi.CArrayPtr(rffi.CCHARP), dataps), 
+            self.func(rffi.cast(rffi.CArrayPtr(rffi.CCHARP), dataps),
                       rffi.cast(npy_intpp, dims), rffi.cast(npy_intpp, steps), 
self.data)
         finally:
             free_raw_storage(dataps, track_allocation=False)
@@ -315,4 +315,4 @@
     w_identity = space.wrap(identity)
     ufunc_generic = ufuncs.frompyfunc(space, w_funcs, nin, nout, w_dtypes,
                  w_signature, w_identity, w_name, w_doc)
-    return ufunc_generic             
+    return ufunc_generic
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to