Author: Maciej Fijalkowski <[email protected]>
Branch: refactor-signature
Changeset: r50789:44f6ff290792
Date: 2011-12-21 00:22 +0200
http://bitbucket.org/pypy/pypy/changeset/44f6ff290792/

Log:    some more dead code

diff --git a/pypy/module/micronumpy/interp_numarray.py 
b/pypy/module/micronumpy/interp_numarray.py
--- a/pypy/module/micronumpy/interp_numarray.py
+++ b/pypy/module/micronumpy/interp_numarray.py
@@ -736,9 +736,6 @@
     def _del_sources(self):
         self.values = None
 
-    def _find_dtype(self):
-        return self.res_dtype
-
     def create_sig(self, res_shape):
         if self.forced_result is not None:
             return self.forced_result.create_sig(res_shape)
@@ -1029,12 +1026,6 @@
         )
         return array
 
-    def descr_len(self, space):
-        if len(self.shape):
-            return space.wrap(self.shape[0])
-        raise OperationError(space.w_TypeError, space.wrap(
-            "len() of unsized object"))
-
     def setitem(self, item, value):
         self.invalidated()
         self.dtype.setitem(self.storage, item, value)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to