Antoine Pitrou <pit...@free.fr> added the comment:

+    def __eq__(self, other):
+        r = (type(self) == type(other))
+        if r:
+            return r

I think this should be "if not r".

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7689>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to