Author: Philip Jenvey <[email protected]>
Branch: remove-intlong-smm
Changeset: r69140:a7974c1a5d68
Date: 2014-02-14 12:03 -0800
http://bitbucket.org/pypy/pypy/changeset/a7974c1a5d68/

Log:    cleanup

diff --git a/pypy/objspace/std/intobject.py b/pypy/objspace/std/intobject.py
--- a/pypy/objspace/std/intobject.py
+++ b/pypy/objspace/std/intobject.py
@@ -234,7 +234,7 @@
 
     def descr_pos(self, space):
         return self.int(space)
-    descr_trunc = descr_pos # XX: descr_index/conjugate
+    descr_index = descr_trunc = descr_conjugate = descr_pos
 
     def descr_neg(self, space):
         a = self.int_w(space)
@@ -251,9 +251,6 @@
         pos = self.int_w(space) >= 0
         return self.int(space) if pos else self.descr_neg(space)
 
-    def descr_index(self, space):
-        return self.int(space)
-
     def descr_float(self, space):
         a = self.int_w(space)
         x = float(a)
@@ -268,9 +265,6 @@
     def descr_getnewargs(self, space):
         return space.newtuple([wrapint(space, self.int_w(space))])
 
-    def descr_conjugate(self, space):
-        return self.int(space)
-
     def descr_bit_length(self, space):
         val = self.int_w(space)
         if val < 0:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to