Author: Michal Bendowski <[email protected]>
Branch: jvm-improvements
Changeset: r55450:52ae99714cf8
Date: 2012-06-06 23:10 +0200
http://bitbucket.org/pypy/pypy/changeset/52ae99714cf8/
Log: Remove unncessary __eq__ from OOInstanceRepr
diff --git a/pypy/rpython/ootypesystem/rootype.py
b/pypy/rpython/ootypesystem/rootype.py
--- a/pypy/rpython/ootypesystem/rootype.py
+++ b/pypy/rpython/ootypesystem/rootype.py
@@ -58,12 +58,6 @@
def __init__(self, ootype):
self.lowleveltype = ootype
- def __eq__(self, other):
- return self.lowleveltype == other.lowleveltype
-
- def __ne__(self, other):
- return not self.__eq__(other)
-
def rtype_getattr(self, hop):
attr = hop.args_s[1].const
s_inst = hop.args_s[0]
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit