[pypy-commit] pypy numpy-dtype-refactor: fix translation
alex_gaynor
noreply at buildbot.pypy.org
Tue Nov 29 16:12:45 CET 2011
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: numpy-dtype-refactor
Changeset: r49968:192b326cb379
Date: 2011-11-29 09:45 -0500
http://bitbucket.org/pypy/pypy/changeset/192b326cb379/
Log: fix translation
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
@@ -18,7 +18,7 @@
def new(space, w_subtype, w_value):
dtype = get_dtype(space)
return dtype.itemtype.coerce_subtype(space, w_subtype, w_value)
- return new, staticmethod(get_dtype)
+ return func_with_new_name(new, name + "_box_new"), staticmethod(get_dtype)
class PrimitiveBox(object):
_mixin_ = True
More information about the pypy-commit
mailing list