[pypy-commit] pypy kill-someobject: bah

fijal noreply at buildbot.pypy.org
Fri Oct 12 18:27:47 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: kill-someobject
Changeset: r58071:afe76c7cb0cd
Date: 2012-10-12 18:24 +0200
http://bitbucket.org/pypy/pypy/changeset/afe76c7cb0cd/

Log:	bah

diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py
--- a/pypy/module/micronumpy/interp_numarray.py
+++ b/pypy/module/micronumpy/interp_numarray.py
@@ -535,7 +535,8 @@
 @unwrap_spec(offset=int)
 def descr_new_array(space, w_subtype, w_shape, w_dtype=None, w_buffer=None,
                     offset=0, w_strides=None, w_order=None):
-    if (offset != 0 or space.is_none(w_strides) or not space.is_none(w_order) or
+    if (offset != 0 or not space.is_none(w_strides) or
+        not space.is_none(w_order) or
         not space.is_none(w_buffer)):
         raise OperationError(space.w_NotImplementedError,
                              space.wrap("unsupported param"))


More information about the pypy-commit mailing list