Author: Manuel Jacob <[email protected]>
Branch: py3k
Changeset: r77668:26d17c7cc5f0
Date: 2015-05-29 03:38 +0200
http://bitbucket.org/pypy/pypy/changeset/26d17c7cc5f0/
Log: Remove unnecessary import (which also breaks translation on py3k).
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
@@ -185,7 +185,6 @@
def _find_shape_and_elems(space, w_iterable, is_rec_type):
- from pypy.objspace.std.bufferobject import W_Buffer
shape = [space.len_w(w_iterable)]
if space.isinstance_w(w_iterable, space.w_buffer):
batch = [space.wrap(0)] * shape[0]
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit