Author: Manuel Jacob
Branch: kill-multimethod
Changeset: r69449:aa67858b4e18
Date: 2014-02-25 20:26 +0100
http://bitbucket.org/pypy/pypy/changeset/aa67858b4e18/

Log:    Remove unnecessary delegation methods.

diff --git a/pypy/objspace/std/smalllongobject.py 
b/pypy/objspace/std/smalllongobject.py
--- a/pypy/objspace/std/smalllongobject.py
+++ b/pypy/objspace/std/smalllongobject.py
@@ -376,14 +376,6 @@
     raise OverflowError("integer multiplication")
 
 
-def delegate_SmallLong2Float(space, w_small):
-    return space.newfloat(float(w_small.longlong))
-
-
-def delegate_SmallLong2Complex(space, w_small):
-    return space.newcomplex(float(w_small.longlong), 0.0)
-
-
 def _int2small(space, w_int):
     # XXX: W_IntObject.descr_long should probably return W_SmallLongs
     return W_SmallLongObject.fromint(w_int.int_w(space))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to