Author: Maciej Fijalkowski <[email protected]>
Branch: numpy-record-dtypes
Changeset: r53141:06b6c2676f47
Date: 2012-03-03 09:02 -0800
http://bitbucket.org/pypy/pypy/changeset/06b6c2676f47/

Log:    some renaming attempt

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
@@ -232,7 +232,7 @@
     pass
 
 class W_StringBox(W_CharacterBox):
-    def descr__new__(space, w_subtype, w_arg):
+    def descr__new__string_box(space, w_subtype, w_arg):
         from pypy.module.micronumpy.interp_numarray import W_NDimArray
         from pypy.module.micronumpy.interp_dtype import new_string_dtype
 
@@ -244,7 +244,7 @@
 
 
 class W_UnicodeBox(W_CharacterBox):
-    def descr__new__(space, w_subtype, w_arg):
+    def descr__new__unicode_box(space, w_subtype, w_arg):
         from pypy.module.micronumpy.interp_numarray import W_NDimArray
         from pypy.module.micronumpy.interp_dtype import new_unicode_dtype
 
@@ -425,11 +425,11 @@
 
 W_StringBox.typedef = TypeDef("string_", (str_typedef, W_CharacterBox.typedef),
     __module__ = "numpypy",
-    __new__ = interp2app(W_StringBox.descr__new__.im_func),
+    __new__ = interp2app(W_StringBox.descr__new__string_box.im_func),
 )
 
 W_UnicodeBox.typedef = TypeDef("unicode_", (unicode_typedef, 
W_CharacterBox.typedef),
     __module__ = "numpypy",
-    __new__ = interp2app(W_UnicodeBox.descr__new__.im_func),
+    __new__ = interp2app(W_UnicodeBox.descr__new__unicode_box.im_func),
 )
                                           
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to