Author: Alex Gaynor <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to