Author: Brian Kearns <bdkea...@gmail.com> Branch: Changeset: r68460:6269dd19f95d Date: 2013-12-18 00:48 -0500 http://bitbucket.org/pypy/pypy/changeset/6269dd19f95d/
Log: simplify diff --git a/pypy/module/micronumpy/interp_boxes.py b/pypy/module/micronumpy/interp_boxes.py --- a/pypy/module/micronumpy/interp_boxes.py +++ b/pypy/module/micronumpy/interp_boxes.py @@ -265,8 +265,7 @@ if not space.is_none(w_out): raise OperationError(space.w_NotImplementedError, space.wrap( "out not supported")) - v = self.convert_to(space, self.get_dtype(space)) - return self.get_dtype(space).itemtype.round(v, decimals) + return self.get_dtype(space).itemtype.round(self, decimals) def descr_astype(self, space, w_dtype): from pypy.module.micronumpy.interp_dtype import W_Dtype _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit