[pypy-commit] pypy py3k: type can inherit object's __eq__ now

pjenvey noreply at buildbot.pypy.org
Wed Jul 3 22:16:02 CEST 2013


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r65179:983d7aa0f41d
Date: 2013-07-03 13:14 -0700
http://bitbucket.org/pypy/pypy/changeset/983d7aa0f41d/

Log:	type can inherit object's __eq__ now

diff --git a/pypy/objspace/std/typeobject.py b/pypy/objspace/std/typeobject.py
--- a/pypy/objspace/std/typeobject.py
+++ b/pypy/objspace/std/typeobject.py
@@ -1145,9 +1145,6 @@
                           "type object '%s' has no attribute '%s'",
                           w_type.name, name)
 
-def eq__Type_Type(space, w_self, w_other):
-    return space.is_(w_self, w_other)
-
 
 # ____________________________________________________________
 


More information about the pypy-commit mailing list